diff options
| author | David Green <david.green@arm.com> | 2025-10-24 08:21:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-24 08:21:35 +0100 |
| commit | a1e59bdc173187ec47e6ede69c99316eaee9e375 (patch) | |
| tree | efd0bc9f801b75257417fe5a0fa53f9108016e37 /lldb/packages/Python/lldbsuite/test/lldbgdbproxy.py | |
| parent | 9681705fbc3e16810ed031ca9bdd4b78654a3058 (diff) | |
| download | llvm-a1e59bdc173187ec47e6ede69c99316eaee9e375.zip llvm-a1e59bdc173187ec47e6ede69c99316eaee9e375.tar.gz llvm-a1e59bdc173187ec47e6ede69c99316eaee9e375.tar.bz2 | |
[GlobalISel] Make scalar G_SHUFFLE_VECTOR illegal. (#140508)
I'm not sure if this is the best way forward or not, but we have a lot
of issues with forgetting that shuffle_vectors can be scalar again and
again. (There is another example from the recent known-bits code added
recently). As a scalar-dst shuffle vector is just an extract, and a
scalar-source shuffle vector is just a build vector, this patch makes
scalar shuffle vector illegal and adjusts the irbuilder to create the
correct node as required.
Most targets do this already through lowering or combines. Making scalar
shuffles illegal simplifies gisel as a whole, it just requires that
transforms that create shuffles of new sizes to account for the scalar
shuffle being illegal (mostly IRBuilder and LessElements).
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbproxy.py')
0 files changed, 0 insertions, 0 deletions
