[llvm] [LoongArch] Use div.w/mod.w to eliminate unnecessary sign-extend for sdiv/srem i32. (PR #117298)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 22 07:28:51 PST 2024


https://github.com/heiher approved this pull request.

LGTM. This is helpful for eliminating unnecessary sign extensions. There are no test cases for this because the OptW pass already performs similar optimizations.

https://github.com/llvm/llvm-project/pull/117298


More information about the llvm-commits mailing list