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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 3 12:35:06 PDT 2024


nikic wrote:

> > BTW, isn't it already handled by CVP/SCCP?
> 
> It isn't handled at the moment: https://alive2.llvm.org/ce/z/5o8Y-m

It's not handled because the transform is incorrect. The variant with int_min_is_poison set *is* already handled: https://alive2.llvm.org/ce/z/Ah_8wT

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


More information about the llvm-commits mailing list