[llvm] [Instcombine]: Folds`llvm.ucmp` and `llvm.scmp` (PR #168505)

Kevin Per via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 29 03:43:23 PST 2025


kper wrote:

Thanks for the clarification, I misunderstood how the method works.

I integrated the fold into `simplifyWithOpsReplaced`. Additionally, I added a check for the range. If it's not the expected range then I don't apply the fold.

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


More information about the llvm-commits mailing list