@@ -25,11 +25,11 @@ body: |
25
25
; CHECK-NEXT: RET_ReallyLR implicit $x0
26
26
%arg1:_(s64) = COPY $x0
27
27
%arg2:_(s64) = COPY $x1
28
- %zero:_(s32 ) = G_CONSTANT i32 0
29
- %one:_(s32 ) = G_CONSTANT i32 1
28
+ %zero:_(s64 ) = G_CONSTANT i64 0
29
+ %one:_(s64 ) = G_CONSTANT i64 1
30
30
%bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64)
31
- %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s32 )
32
- %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s32 )
31
+ %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s64 )
32
+ %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s64 )
33
33
$x0 = COPY %extract(s64)
34
34
$x1 = COPY %extract2(s64)
35
35
RET_ReallyLR implicit $x0
@@ -55,22 +55,22 @@ body: |
55
55
; CHECK-NEXT: {{ $}}
56
56
; CHECK-NEXT: %arg1:_(s64) = COPY $x0
57
57
; CHECK-NEXT: %arg2:_(s64) = COPY $x1
58
- ; CHECK-NEXT: %zero:_(s32 ) = G_CONSTANT i32 0
59
- ; CHECK-NEXT: %one:_(s32 ) = G_CONSTANT i32 1
58
+ ; CHECK-NEXT: %zero:_(s64 ) = G_CONSTANT i64 0
59
+ ; CHECK-NEXT: %one:_(s64 ) = G_CONSTANT i64 1
60
60
; CHECK-NEXT: %bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64)
61
- ; CHECK-NEXT: %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s32 )
62
- ; CHECK-NEXT: %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s32 )
61
+ ; CHECK-NEXT: %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s64 )
62
+ ; CHECK-NEXT: %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s64 )
63
63
; CHECK-NEXT: $x0 = COPY %extract(s64)
64
64
; CHECK-NEXT: $x1 = COPY %extract2(s64)
65
65
; CHECK-NEXT: $q0 = COPY %bv(<2 x s64>)
66
66
; CHECK-NEXT: RET_ReallyLR implicit $x0
67
67
%arg1:_(s64) = COPY $x0
68
68
%arg2:_(s64) = COPY $x1
69
- %zero:_(s32 ) = G_CONSTANT i32 0
70
- %one:_(s32 ) = G_CONSTANT i32 1
69
+ %zero:_(s64 ) = G_CONSTANT i64 0
70
+ %one:_(s64 ) = G_CONSTANT i64 1
71
71
%bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64)
72
- %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s32 )
73
- %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s32 )
72
+ %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s64 )
73
+ %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s64 )
74
74
$x0 = COPY %extract(s64)
75
75
$x1 = COPY %extract2(s64)
76
76
$q0 = COPY %bv(<2 x s64>)
@@ -103,12 +103,12 @@ body: |
103
103
; CHECK-NEXT: RET_ReallyLR implicit $x0
104
104
%arg1:_(s64) = COPY $x0
105
105
%arg2:_(s64) = COPY $x1
106
- %zero:_(s32 ) = G_CONSTANT i32 0
107
- %one:_(s32 ) = G_CONSTANT i32 1
106
+ %zero:_(s64 ) = G_CONSTANT i64 0
107
+ %one:_(s64 ) = G_CONSTANT i64 1
108
108
%bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64)
109
- %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s32 )
110
- %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s32 )
111
- %extract3:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s32 )
109
+ %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s64 )
110
+ %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s64 )
111
+ %extract3:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %one(s64 )
112
112
$x0 = COPY %extract(s64)
113
113
$x1 = COPY %extract2(s64)
114
114
$x2 = COPY %extract3(s64)
@@ -140,12 +140,12 @@ body: |
140
140
; CHECK-NEXT: RET_ReallyLR implicit $x0
141
141
%arg1:_(s64) = COPY $x0
142
142
%arg2:_(s64) = COPY $x1
143
- %zero:_(s32 ) = G_CONSTANT i32 0
144
- %one:_(s32 ) = G_CONSTANT i32 1
145
- %two:_(s32 ) = G_CONSTANT i32 2
143
+ %zero:_(s64 ) = G_CONSTANT i64 0
144
+ %one:_(s64 ) = G_CONSTANT i64 1
145
+ %two:_(s64 ) = G_CONSTANT i64 2
146
146
%bv:_(<2 x s64>) = G_BUILD_VECTOR %arg1(s64), %arg2(s64)
147
- %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s32 )
148
- %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %two(s32 )
147
+ %extract:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %zero(s64 )
148
+ %extract2:_(s64) = G_EXTRACT_VECTOR_ELT %bv(<2 x s64>), %two(s64 )
149
149
$x0 = COPY %extract(s64)
150
150
$x1 = COPY %extract2(s64)
151
151
RET_ReallyLR implicit $x0
0 commit comments