diff options
author | Craig Topper <craig.topper@sifive.com> | 2024-07-31 17:18:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-31 17:18:27 -0700 |
commit | 307d1249ea635a78fcd347a65ddaa395cf64130e (patch) | |
tree | bbb2c2f75f1292b1716fdb3fd64e900b33100280 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp | |
parent | 3a4c7cc56c07b2db9010c2228fc7cb2a43dd9b2d (diff) | |
download | llvm-307d1249ea635a78fcd347a65ddaa395cf64130e.zip llvm-307d1249ea635a78fcd347a65ddaa395cf64130e.tar.gz llvm-307d1249ea635a78fcd347a65ddaa395cf64130e.tar.bz2 |
[LegalizeTypes][RISCV][LoongArch] Optimize promotion of ucmp. (#101366)
ucmp can be promoted with either sext or zext. RISC-V and LoongArch
prefer sext for promoting i32 to i64 unless the inputs are known to be
zero extended already.
This patch uses the existing SExtOrZExtPromotedOperands function that is
used by SETCC promotion to intelligently handle this.
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions