diff options
author | Ramkumar Ramachandra <ramkumar.ramachandra@codasip.com> | 2024-11-15 20:06:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 20:06:11 +0000 |
commit | 94eebf721a2f8630412730f51d5071816a686ea0 (patch) | |
tree | f11eb48b494c7a0eef6016169c6ad5539b962d80 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 92f3f2710641003a7bc558e6d766ea6be6c099b9 (diff) | |
download | llvm-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