diff options
| author | Min-Yih Hsu <min.hsu@sifive.com> | 2025-09-02 09:45:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-02 09:45:45 -0700 |
| commit | 6c3db644eda97cf8461b03728ccd361e920da52b (patch) | |
| tree | b0e2cd3d045dea92db00152e14612c08b43dfdb7 /lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py | |
| parent | 3e5f49af266e3c277a794b724cd6d115a0d5766c (diff) | |
[RISCV] Use slideup to lower build_vector when all operand are (extract_element X, 0) (#154450)
The general lowering of build_vector starts with splatting the first
operand before sliding down other operands one-by-one. However, if the
every operands is an extract_element from the first vector element, we
could use the original _vector_ (source of extraction) from the last
build_vec operand as start value before sliding up other operands (in
reverse order) one-by-one. By doing so we can avoid the initial splat
and eliminate the vector to scalar movement later, which is something we
cannot do with vslidedown/vslide1down.
---------
Co-authored-by: Craig Topper <craig.topper@sifive.com>
Co-authored-by: Luke Lau <luke@igalia.com>
Diffstat (limited to 'lldb/test/API/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions
