[clang] [llvm] [InstCombine] Fold `X Pred C2 ? X BOp C1 : C2 BOp C1` to `min/max(X, C2) BOp C1` (PR #116888)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 27 11:18:59 PST 2024
veera-sivarajan wrote:
> You can convert the icmp into icmp ule i32 %x, 1 with getFlippedStrictnessPredicateAndConstant.
I'm sorry, could you please explain why this is necessary there?
https://github.com/llvm/llvm-project/pull/116888
More information about the cfe-commits
mailing list