[llvm] [InstCombine] Canonicalize `icmp ult (add X, C2), C` expressions (PR #95649)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 15 11:39:09 PDT 2024
https://github.com/nikic commented:
The key question here is whether this is the right canonicalization direction -- do we prefer a mask check over a range check? I guess if @dtcxzyw's tests don't show regressions from this, then this direction is fine.
https://github.com/llvm/llvm-project/pull/95649
More information about the llvm-commits
mailing list