aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2025-09-04 14:51:14 -0700
committerGitHub <noreply@github.com>2025-09-04 14:51:14 -0700
commit91e85cc950954db04c2e4747ce4d6b523fe81238 (patch)
tree13a2df3af5c2f20ddd246ab2c30c06afd79f953b /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentf4538cb812425213fcca765f2c18262d076d0488 (diff)
downloadllvm-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