[llvm] [InstCombine] Fold -X / -Y -> X / Y (PR #88422)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 11 11:48:09 PDT 2024


goldsteinn wrote:

The second and third proof seem unrelated?
Also the first proof is incorrect w.o the `noundef` i.e: https://alive2.llvm.org/ce/z/22Bers
you need to make sure the div will not trigger immediate UB. Please update your code and proofs accordingly.

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


More information about the llvm-commits mailing list