aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2022-07-27 09:41:58 -0700
committerCraig Topper <craig.topper@sifive.com>2022-07-27 09:41:59 -0700
commit32622d6de40af4da63389dfe9a520d0e013ac961 (patch)
treed78ff70b0d8da9b5208faa59c4e53f894e78b36c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h
parent9b27d13204969bfb57ef408ec2c95e5b1f63fc43 (diff)
downloadllvm-32622d6de40af4da63389dfe9a520d0e013ac961.zip
llvm-32622d6de40af4da63389dfe9a520d0e013ac961.tar.gz
llvm-32622d6de40af4da63389dfe9a520d0e013ac961.tar.bz2
[RISCV] Add isel pattern for (mul (and X, 0xffffffff), 3<<C) with Zba.
We can use slli.uw by C followed by sh1add. Similar can be done for multiples of 5 and 9. We need to make sure that C is less than 32 to stay in bounds of the 5-bit immediate for slli.uw. We have existing patterns for (mul X, 3<<C) that use sh1add followed by slli. That order doesn't allow the and to be folded. Reviewed By: reames Differential Revision: https://reviews.llvm.org/D130146
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions