aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
diff options
context:
space:
mode:
authorLuke Lau <luke@igalia.com>2023-04-18 18:29:20 +0100
committerLuke Lau <luke@igalia.com>2023-04-25 09:18:50 +0100
commit0b55f7c5c69ff2a2776a03f32ad31bedc556faf3 (patch)
treea36d31780aeab0ed998ad38c93d79ff74d78d7ca /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
parent918fa266fc3e9cae82076ca0ad461d043568c54d (diff)
downloadllvm-0b55f7c5c69ff2a2776a03f32ad31bedc556faf3.zip
llvm-0b55f7c5c69ff2a2776a03f32ad31bedc556faf3.tar.gz
llvm-0b55f7c5c69ff2a2776a03f32ad31bedc556faf3.tar.bz2
[RISCV] Fix interleave crash on unary interleaves
We were crashing when lowering interleave shuffles like (shuffle <0,3,1,4>, x:v4i8, y:v4i8) Where it was technically an unary shuffle (both EvenSrc and OddSrc point to the first operand), but the resulting extract_subvectors were out of bounds. This checks to make sure that the vectors being extracted are within range. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D148647
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions