[llvm] [InstCombine] Fold [su]cmp of no-wrap ops with a common operand (PR #216157)

Kenzo Tjandra via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 21:51:11 PDT 2026


ketjandr wrote:

Hi @harshasiddartha, I’m interested in helping continue this work. I noticed that there's still a pending review with sharing similar order-preserving comparison logic with `icmp`. Would you mind if I prepared an alternative implementation that explores that refactoring? I’ll credit this PR, and preserve any useful tests and ideas. 
cc @dtcxzyw

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


More information about the llvm-commits mailing list