aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorThorsten Schütt <schuett@gmail.com>2024-02-20 09:56:33 +0100
committerGitHub <noreply@github.com>2024-02-20 09:56:33 +0100
commit63a4b4f610e729ee71758bdc29da10faf5b943b4 (patch)
treeb9503a630543bc41503d1ecd9f867ee3cf10648b /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent119a72866f0e143127355fe6e03f57c4f8bab1ae (diff)
downloadllvm-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