[llvm] [ConstraintElim] Simplify cmp after uadd.sat/usub.sat (PR #135603)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 18 02:54:03 PDT 2025


el-ev wrote:

I'm unsure what is the correct behavior, but `zext nneg` does add a constraint here.
https://github.com/llvm/llvm-project/blob/31ddaef8d18d643ff4c343d03ddfe2edae7d22a2/llvm/lib/Transforms/Scalar/ConstraintElimination.cpp#L527C1-L529C33
cc @dtcxzyw  

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


More information about the llvm-commits mailing list