diff options
author | Philip Reames <preames@rivosinc.com> | 2025-09-04 14:51:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-04 14:51:14 -0700 |
commit | 91e85cc950954db04c2e4747ce4d6b523fe81238 (patch) | |
tree | 13a2df3af5c2f20ddd246ab2c30c06afd79f953b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | f4538cb812425213fcca765f2c18262d076d0488 (diff) | |
download | llvm-91e85cc950954db04c2e4747ce4d6b523fe81238.zip llvm-91e85cc950954db04c2e4747ce4d6b523fe81238.tar.gz llvm-91e85cc950954db04c2e4747ce4d6b523fe81238.tar.bz2 |
[RISCV] Use arithmetic for select c, 0, simm12 even with zicond (#156957)
The arithmetic expansion requires fewer registers, and is often fewer
instructions. The critical path does increase by (up to) one
instruction.
This is a sub-case of the expansion we do without zicond, but restricted
specifically to the simm12 case. In the general case where the other
source is a register using zicond is likely better. (Edit: While
technically true, this is a bit misleading, we do this in
combineSelectToBinOp which is also used in the zicond path, just further
down.)
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions