diff options
author | Nikita Popov <npopov@redhat.com> | 2023-12-01 12:15:58 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-12-01 12:18:59 +0100 |
commit | 460faa0c87f0a9496cdaf6c856aff1886e29afe3 (patch) | |
tree | dbcb5dd6290c4749ccf8299466c9171884511b32 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 89b0044ca9a6fb233f8d6dd16db6bd4acc3d3f61 (diff) | |
download | llvm-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