summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-07-19 14:13:50 +0100
committerLuke Lau <luke@igalia.com>2023-07-21 10:13:28 +0100
commit24628a14c4fb63eab8d5e68fb5c3cc49d14c0dcf (patch)
tree49047350e4c4383dc39137ff82602eab696d8e88 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent418e678ba3b4bbe3433f5fcd94959ffa82a917a8 (diff)
[RISCV] Add patterns for vnsr[a,l].wx where shift amount has different type than vector element
We're currently only matching scalar shift amounts where the type is the same as the vector element type. But because only the bottom log2(2*SEW) bits are used, only 7 bits will be used at most so we can use any scalar type >= i8. This patch adds patterns for the case above, as well as for when the shift amount type is the same as the widened element type and doesn't need extended. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D155698
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions