diff options
author | Michael Maitland <michaeltmaitland@gmail.com> | 2024-04-01 08:46:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 08:46:22 -0400 |
commit | da9f06c9b1179423302e3e7ccb27431ced44e548 (patch) | |
tree | ecec6f06bc5e5ab8f6a989d12387c3e8d6554eba /llvm/test/MachineVerifier | |
parent | 4213f4a9ae0ef70e02da9f40653b4e04eea00c74 (diff) | |
download | llvm-da9f06c9b1179423302e3e7ccb27431ced44e548.zip llvm-da9f06c9b1179423302e3e7ccb27431ced44e548.tar.gz llvm-da9f06c9b1179423302e3e7ccb27431ced44e548.tar.bz2 |
[GISEL] G_SPLAT_VECTOR can take a splat that is larger than the vector element (#86974)
This is what SelectionDAG does. We'd like to reuse SelectionDAG
patterns.
Diffstat (limited to 'llvm/test/MachineVerifier')
-rw-r--r-- | llvm/test/MachineVerifier/test_g_splat_vector.mir | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MachineVerifier/test_g_splat_vector.mir b/llvm/test/MachineVerifier/test_g_splat_vector.mir index 0d1d8a3..0007434 100644 --- a/llvm/test/MachineVerifier/test_g_splat_vector.mir +++ b/llvm/test/MachineVerifier/test_g_splat_vector.mir @@ -22,6 +22,6 @@ body: | ; CHECK: Source type must be a scalar %6:_(<vscale x 2 x s32>) = G_SPLAT_VECTOR %2 - ; CHECK: Element type of the destination must be the same type as the source type - %7:_(<vscale x 2 x s64>) = G_SPLAT_VECTOR %0 + ; CHECK: Element type of the destination must be the same size or smaller than the source type + %7:_(<vscale x 2 x s128>) = G_SPLAT_VECTOR %0 ... |