diff options
author | Thorsten Schütt <schuett@gmail.com> | 2024-02-20 09:56:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 09:56:33 +0100 |
commit | 63a4b4f610e729ee71758bdc29da10faf5b943b4 (patch) | |
tree | b9503a630543bc41503d1ecd9f867ee3cf10648b /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 119a72866f0e143127355fe6e03f57c4f8bab1ae (diff) | |
download | llvm-63a4b4f610e729ee71758bdc29da10faf5b943b4.zip llvm-63a4b4f610e729ee71758bdc29da10faf5b943b4.tar.gz llvm-63a4b4f610e729ee71758bdc29da10faf5b943b4.tar.bz2 |
[GlobalIsel] Combine logic of floating point compares (#81886)
It is purely based on symmetry. Registers can be scalars, vectors, and
non-constants.
X < 5.0 || X > 5.0
->
X != 5.0
X < Y && X > Y
->
FCMP_FALSE
X < Y && X < Y
->
FCMP_TRUE
see InstCombinerImpl::foldLogicOfFCmps
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions