diff options
| author | Fraser Cormack <fraser@codeplay.com> | 2021-03-19 12:21:23 +0000 |
|---|---|---|
| committer | Fraser Cormack <fraser@codeplay.com> | 2021-03-23 14:14:48 +0000 |
| commit | feff66a0823144dd2c4a26e6008645786531356c (patch) | |
| tree | 84373c071f0c57a39aebc1af91552e05f3e5c8ca /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 1bf8f9e228546bd54ef9739aa808b71b97ea6051 (diff) | |
[RISCV] Further optimize BUILD_VECTORs with repeated elements
This patch builds upon the initial BUILD_VECTOR work introduced in
D98700. It further optimizes the lowering of BUILD_VECTOR by using
VSELECT operations to effectively insert repeated elements into the
vector with relatively few instructions. This allows us to optimize more
BUILD_VECTORs without significantly increasing the size of the generated
code.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D98969
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
