[llvm] [InstCombine] Implemented missed optimization in muldivrem (PR #140916)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed May 21 09:22:01 PDT 2025
dtcxzyw wrote:
> Hi, can you suggest what to do instead of this?
You can implement the fold here: https://github.com/llvm/llvm-project/blob/0edc8b59ab82c868cb76b5b7339916c21d0a35ee/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp#L1314-L1397
Please read https://llvm.org/docs/InstCombineContributorGuide.html for more details (proofs/tests/...).
https://github.com/llvm/llvm-project/pull/140916
More information about the llvm-commits
mailing list