aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2025-01-06 14:43:28 +0100
committerGitHub <noreply@github.com>2025-01-06 14:43:28 +0100
commitc630e13676009757400d5c2c22ba3e1f842cf925 (patch)
tree2132ac29b260343f87033f7a765746dacb0ab525 /clang/lib/CodeGen/CodeGenFunction.cpp
parent7cdbde70fad454be6a07464befdfd3995287b0fb (diff)
downloadllvm-c630e13676009757400d5c2c22ba3e1f842cf925.zip
llvm-c630e13676009757400d5c2c22ba3e1f842cf925.tar.gz
llvm-c630e13676009757400d5c2c22ba3e1f842cf925.tar.bz2
[InstSimplify] Simplify both operands of select before comparing (#121753)
In the simplifySelectWithEquivalence fold, simplify both operands before comparing them, instead of comparing one simplified operand with a non-simplified operand. This is slightly more powerful.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions