aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Interpreter/ScriptInterpreter.cpp
diff options
context:
space:
mode:
authorFraser Cormack <fraser@codeplay.com>2021-08-04 11:07:34 +0100
committerFraser Cormack <fraser@codeplay.com>2021-08-09 10:31:40 +0100
commit2b4a1d4b86f63dc8e60632985c63b7b72d0fe77c (patch)
treeddb69e9e1714db2cceca1f8d0e64b0f70fb44f56 /lldb/source/Interpreter/ScriptInterpreter.cpp
parent5f996705e0cadc43771da12dec0670680230ca56 (diff)
downloadllvm-2b4a1d4b86f63dc8e60632985c63b7b72d0fe77c.zip
llvm-2b4a1d4b86f63dc8e60632985c63b7b72d0fe77c.tar.gz
llvm-2b4a1d4b86f63dc8e60632985c63b7b72d0fe77c.tar.bz2
[RISCV] Improve codegen for shuffles with LHS/RHS splats
Shuffles which are broken into separate halves reveal splats in which a half is accessed via one index; such operations can be optimized to use "vrgather.vi". This optimization could be achieved by adding extra patterns to match `vrgather_vv_vl` which uses a splat as an index operand, but this patch instead identifies splat earlier. This way, future optimizations can build on top of the data gathered here, e.g., to splat-gather dominant indices and insert any leftovers. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D107449
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions