[llvm] [SE] Prove umin/umax comparisons before operand canonicalization (PR #205005)

Antonio Frighetto via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 13:56:56 PDT 2026


antoniofrighetto wrote:

> Do you think this is reasonable to land in the current form? I’m happy to follow up with a separate cleanup/refactoring patch if you think we should improve the layering here.

I'm not sure I have further feedback beyond the above mentioned one. Looking at the code again, I can see the rationale for doing this in SimplifyICmpOperands(), though an approval from a senior maintainer is required here. I agree the code could use some clean up.

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


More information about the llvm-commits mailing list