llvm-project
1bafe77d
- [AArch64] Improve the codegen for sdiv 2 (#98324)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
1 year ago
[AArch64] Improve the codegen for sdiv 2 (#98324) Same as X86, , if X's size is BitWidth, then X sdiv 2 can be expressived as ``` X += X >> (BitWidth - 1) X = X >> 1 ``` Fix https://github.com/llvm/llvm-project/issues/97884
References
#98324 - [AArch64] Improve the codegen for sdiv 2
Author
vfdff
Parents
941f794e
Loading