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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 07:00:38 PDT 2024


https://github.com/dtcxzyw requested changes to this pull request.

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

BTW, isn't it already handled by CVP/SCCP?


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


More information about the llvm-commits mailing list