[llvm] [InstCombine] Simplification for (-a * b) / (a * b). (PR #71768)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 14 06:38:44 PST 2023
nikic wrote:
I think the transform you actually want to implement is this one: https://alive2.llvm.org/ce/z/PBjgSM
The cases from https://github.com/llvm/llvm-project/issues/69574 lack the nsw flag, and this is the variant of the transform that doesn't need nsw.
https://github.com/llvm/llvm-project/pull/71768
More information about the llvm-commits
mailing list