aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
diff options
context:
space:
mode:
authorPiotr Fusik <p.fusik@samsung.com>2025-08-14 09:59:43 +0200
committerGitHub <noreply@github.com>2025-08-14 09:59:43 +0200
commit18782db4c95b80fd3a619826558db118bb874325 (patch)
treeacad354f7d688f6f2733444a0662bc88cb4ba343 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
parent7b904b09eb2368d8e3af77df4753a1068835db54 (diff)
downloadllvm-18782db4c95b80fd3a619826558db118bb874325.zip
llvm-18782db4c95b80fd3a619826558db118bb874325.tar.gz
llvm-18782db4c95b80fd3a619826558db118bb874325.tar.bz2
[RISCV] Improve instruction selection for most significant bit extraction (#151687)
(seteq (and X, 1<<XLEN-1), 0) -> (xori (srli X, XLEN-1), 1) (seteq (and X, 1<<31), 0) -> (xori (srliw X, 31), 1) // RV64 (setlt X, 0) -> (srli X, XLEN-1) // SRLI is compressible (setlt (sext X), 0) -> (srliw X, 31) // RV64
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h')
0 files changed, 0 insertions, 0 deletions