[llvm] [InstCombine] Simplify max(min(abs())) (PR #110997)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 07:31:41 PDT 2024


goldsteinn wrote:

> It is incorrect when `x==INT_MIN`: https://alive2.llvm.org/ce/z/X4TZPY

It is valid if you make INT_MIN ub.


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


More information about the llvm-commits mailing list