aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <ramkumar.ramachandra@codasip.com>2024-11-15 20:06:11 +0000
committerGitHub <noreply@github.com>2024-11-15 20:06:11 +0000
commit94eebf721a2f8630412730f51d5071816a686ea0 (patch)
treef11eb48b494c7a0eef6016169c6ad5539b962d80 /clang/lib/CodeGen/CodeGenFunction.cpp
parent92f3f2710641003a7bc558e6d766ea6be6c099b9 (diff)
downloadllvm-94eebf721a2f8630412730f51d5071816a686ea0.zip
llvm-94eebf721a2f8630412730f51d5071816a686ea0.tar.gz
llvm-94eebf721a2f8630412730f51d5071816a686ea0.tar.bz2
InstSimplify: support floating-point equivalences (#115152)
Since cd16b07 (IR: introduce CmpInst::isEquivalence), there is now an isEquivalence routine in CmpInst that we can use to determine equivalence in simplifySelectWithICmpEq. Implement this, extending the code from integer-equalities to integer and floating-point equivalences.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions