aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorVolodymyr Vasylkun <vvmposeydon@gmail.com>2024-08-23 22:31:03 +0100
committerGitHub <noreply@github.com>2024-08-23 22:31:03 +0100
commitda6f42325175bdf1652c296136d9883e1100f86c (patch)
tree652c0f21d197c98c828ad58a16bb834cd754bc40 /clang/lib/Frontend/CompilerInvocation.cpp
parent3b703d479ff37883242acc20fed317ed8a5466dc (diff)
downloadllvm-da6f42325175bdf1652c296136d9883e1100f86c.zip
llvm-da6f42325175bdf1652c296136d9883e1100f86c.tar.gz
llvm-da6f42325175bdf1652c296136d9883e1100f86c.tar.bz2
[InstCombine] Fold `(x < y) ? -1 : zext(x > y)` and `(x > y) ? 1 : sext(x < y)` to `ucmp/scmp(x, y)` (#105272)
This patch expands already existing funcionality to include these two additional folds, which are nearly identical to the ones already implemented. Proofs: https://alive2.llvm.org/ce/z/Xy7s4j
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions