@@ -6,28 +6,22 @@ tracksRegLiveness: true
6
6
liveins :
7
7
body : |
8
8
bb.0:
9
- %0:_(<2 x s32>) = G_IMPLICIT_DEF
10
- %1:_(s32) = G_CONSTANT i32 0
11
- %2:_(s32) = G_CONSTANT i32 1
12
- %3:_(<2 x s32>) = G_BUILD_VECTOR %1, %2
9
+ %0:_(s32) = G_CONSTANT i32 0
10
+ %1:_(<2 x s32>) = G_IMPLICIT_DEF
11
+ %2:_(<vscale x 2 x s32>) = G_IMPLICIT_DEF
13
12
14
- ; CHECK: Destination type must be a vector
15
- %4 :_(s32) = G_SPLAT_VECTOR %1
13
+ ; CHECK: Destination type must be a scalable vector
14
+ %3 :_(s32) = G_SPLAT_VECTOR %0
16
15
17
- ; CHECK: Source type must be a scalar
18
- %5:_(<2 x s32>) = G_SPLAT_VECTOR %3
19
-
20
- ; CHECK: Element type of the destination must be the same type as the source type
21
- %6:_(<2 x s64>) = G_SPLAT_VECTOR %5
16
+ ; CHECK: Destination type must be a scalable vector
17
+ %4:_(<2 x s32>) = G_SPLAT_VECTOR %0
22
18
23
- %7:_(<vscale x 2 x s32>) = G_IMPLICIT_DEF
24
-
25
- ; CHECK: Destination type must be a vector
26
- %8:_(s32) = G_SPLAT_VECTOR %7
19
+ ; CHECK: Source type must be a scalar
20
+ %5:_(<vscale x 2 x s32>) = G_SPLAT_VECTOR %1
27
21
28
22
; CHECK: Source type must be a scalar
29
- %9 :_(<vscale x 2 x s32>) = G_SPLAT_VECTOR %7
23
+ %6 :_(<vscale x 2 x s32>) = G_SPLAT_VECTOR %2
30
24
31
25
; CHECK: Element type of the destination must be the same type as the source type
32
- %10 :_(<vscale x 2 x s64>) = G_SPLAT_VECTOR %7
26
+ %7 :_(<vscale x 2 x s64>) = G_SPLAT_VECTOR %0
33
27
...
0 commit comments