llvm-project
1bafe77d - [AArch64] Improve the codegen for sdiv 2 (#98324)

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
Author
Parents
Loading