aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-12-01 12:15:58 +0100
committerNikita Popov <npopov@redhat.com>2023-12-01 12:18:59 +0100
commit460faa0c87f0a9496cdaf6c856aff1886e29afe3 (patch)
treedbcb5dd6290c4749ccf8299466c9171884511b32 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent89b0044ca9a6fb233f8d6dd16db6bd4acc3d3f61 (diff)
downloadllvm-460faa0c87f0a9496cdaf6c856aff1886e29afe3.zip
llvm-460faa0c87f0a9496cdaf6c856aff1886e29afe3.tar.gz
llvm-460faa0c87f0a9496cdaf6c856aff1886e29afe3.tar.bz2
[InstSimplify] Check common operand with constant earlier
If both icmps have the same operands and the RHS is constant, we would currently go into the isImpliedCondMatchingOperands() code path, instead of the isImpliedCondCommonOperandWithConstants() path. Both are correct, but the latter can produce more accurate results if the implication is dependent on the sign.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions