diff options
author | David Sherwood <david.sherwood@arm.com> | 2025-08-01 09:58:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-01 09:58:05 +0100 |
commit | 05b16aff0f4d5132799d7d4470ca13db3afe13ae (patch) | |
tree | f307276b850b3a8086b0c2eba247eded25f07726 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | e1706763515dcd50edf67a377386bc6f1e33a6d0 (diff) | |
download | llvm-05b16aff0f4d5132799d7d4470ca13db3afe13ae.zip llvm-05b16aff0f4d5132799d7d4470ca13db3afe13ae.tar.gz llvm-05b16aff0f4d5132799d7d4470ca13db3afe13ae.tar.bz2 |
[DAGCombiner] Add combine for vector interleave of splats (#151110)
This patch adds two DAG combines:
1. vector_interleave(splat, splat, ...) -> {splat,splat,...}
2. concat_vectors(splat, splat, ...) -> wide_splat
where all the input splats are identical. Both of these
together enable us to fold
concat_vectors(vector_interleave(splat, splat, ...))
into a wide splat. Post-legalisation we must only do the
concat_vector combine if the wider type and splat operation
is legal.
For fixed-width vectors the DAG combine only occurs for
interleave factors of 3 or more, however it's not currently
safe to test this for AArch64 since there isn't any lowering
support for fixed-width interleaves. I've only added
fixed-width tests for RISCV.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions