diff options
author | Nikita Popov <npopov@redhat.com> | 2025-01-06 14:43:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 14:43:28 +0100 |
commit | c630e13676009757400d5c2c22ba3e1f842cf925 (patch) | |
tree | 2132ac29b260343f87033f7a765746dacb0ab525 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 7cdbde70fad454be6a07464befdfd3995287b0fb (diff) | |
download | llvm-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