@@ -51,31 +51,35 @@ define <2 x i64> @test_demanded_elts_pclmulqdq_17(<2 x i64> %a0, <2 x i64> %a1)
51
51
52
52
define <2 x i64 > @test_demanded_elts_pclmulqdq_undef_0 () {
53
53
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_undef_0(
54
- ; CHECK-NEXT: ret <2 x i64> zeroinitializer
54
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i64> @llvm.x86.pclmulqdq(<2 x i64> <i64 undef, i64 poison>, <2 x i64> <i64 undef, i64 poison>, i8 0)
55
+ ; CHECK-NEXT: ret <2 x i64> [[TMP1]]
55
56
;
56
57
%1 = call <2 x i64 > @llvm.x86.pclmulqdq (<2 x i64 > <i64 undef , i64 1 >, <2 x i64 > <i64 undef , i64 1 >, i8 0 )
57
58
ret <2 x i64 > %1
58
59
}
59
60
60
61
define <2 x i64 > @test_demanded_elts_pclmulqdq_undef_1 () {
61
62
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_undef_1(
62
- ; CHECK-NEXT: ret <2 x i64> zeroinitializer
63
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i64> @llvm.x86.pclmulqdq(<2 x i64> <i64 poison, i64 undef>, <2 x i64> <i64 undef, i64 poison>, i8 1)
64
+ ; CHECK-NEXT: ret <2 x i64> [[TMP1]]
63
65
;
64
66
%1 = call <2 x i64 > @llvm.x86.pclmulqdq (<2 x i64 > <i64 1 , i64 undef >, <2 x i64 > <i64 undef , i64 1 >, i8 1 )
65
67
ret <2 x i64 > %1
66
68
}
67
69
68
70
define <2 x i64 > @test_demanded_elts_pclmulqdq_undef_16 () {
69
71
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_undef_16(
70
- ; CHECK-NEXT: ret <2 x i64> zeroinitializer
72
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i64> @llvm.x86.pclmulqdq(<2 x i64> <i64 undef, i64 poison>, <2 x i64> <i64 poison, i64 undef>, i8 16)
73
+ ; CHECK-NEXT: ret <2 x i64> [[TMP1]]
71
74
;
72
75
%1 = call <2 x i64 > @llvm.x86.pclmulqdq (<2 x i64 > <i64 undef , i64 1 >, <2 x i64 > <i64 1 , i64 undef >, i8 16 )
73
76
ret <2 x i64 > %1
74
77
}
75
78
76
79
define <2 x i64 > @test_demanded_elts_pclmulqdq_undef_17 () {
77
80
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_undef_17(
78
- ; CHECK-NEXT: ret <2 x i64> zeroinitializer
81
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <2 x i64> @llvm.x86.pclmulqdq(<2 x i64> <i64 poison, i64 undef>, <2 x i64> <i64 poison, i64 undef>, i8 17)
82
+ ; CHECK-NEXT: ret <2 x i64> [[TMP1]]
79
83
;
80
84
%1 = call <2 x i64 > @llvm.x86.pclmulqdq (<2 x i64 > <i64 1 , i64 undef >, <2 x i64 > <i64 1 , i64 undef >, i8 17 )
81
85
ret <2 x i64 > %1
@@ -135,31 +139,35 @@ define <4 x i64> @test_demanded_elts_pclmulqdq_256_17(<4 x i64> %a0, <4 x i64> %
135
139
136
140
define <4 x i64 > @test_demanded_elts_pclmulqdq_256_undef_0 () {
137
141
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_256_undef_0(
138
- ; CHECK-NEXT: ret <4 x i64> zeroinitializer
142
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <4 x i64> @llvm.x86.pclmulqdq.256(<4 x i64> <i64 undef, i64 poison, i64 undef, i64 poison>, <4 x i64> <i64 undef, i64 poison, i64 undef, i64 poison>, i8 0)
143
+ ; CHECK-NEXT: ret <4 x i64> [[TMP1]]
139
144
;
140
145
%1 = call <4 x i64 > @llvm.x86.pclmulqdq.256 (<4 x i64 > <i64 undef , i64 1 , i64 undef , i64 1 >, <4 x i64 > <i64 undef , i64 1 , i64 undef , i64 1 >, i8 0 )
141
146
ret <4 x i64 > %1
142
147
}
143
148
144
149
define <4 x i64 > @test_demanded_elts_pclmulqdq_256_undef_1 () {
145
150
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_256_undef_1(
146
- ; CHECK-NEXT: ret <4 x i64> zeroinitializer
151
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <4 x i64> @llvm.x86.pclmulqdq.256(<4 x i64> <i64 poison, i64 undef, i64 poison, i64 undef>, <4 x i64> <i64 undef, i64 poison, i64 undef, i64 poison>, i8 1)
152
+ ; CHECK-NEXT: ret <4 x i64> [[TMP1]]
147
153
;
148
154
%1 = call <4 x i64 > @llvm.x86.pclmulqdq.256 (<4 x i64 > <i64 1 , i64 undef , i64 1 , i64 undef >, <4 x i64 > <i64 undef , i64 1 , i64 undef , i64 1 >, i8 1 )
149
155
ret <4 x i64 > %1
150
156
}
151
157
152
158
define <4 x i64 > @test_demanded_elts_pclmulqdq_256_undef_16 () {
153
159
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_256_undef_16(
154
- ; CHECK-NEXT: ret <4 x i64> zeroinitializer
160
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <4 x i64> @llvm.x86.pclmulqdq.256(<4 x i64> <i64 undef, i64 poison, i64 undef, i64 poison>, <4 x i64> <i64 poison, i64 undef, i64 poison, i64 undef>, i8 16)
161
+ ; CHECK-NEXT: ret <4 x i64> [[TMP1]]
155
162
;
156
163
%1 = call <4 x i64 > @llvm.x86.pclmulqdq.256 (<4 x i64 > <i64 undef , i64 1 , i64 undef , i64 1 >, <4 x i64 > <i64 1 , i64 undef , i64 1 , i64 undef >, i8 16 )
157
164
ret <4 x i64 > %1
158
165
}
159
166
160
167
define <4 x i64 > @test_demanded_elts_pclmulqdq_256_undef_17 () {
161
168
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_256_undef_17(
162
- ; CHECK-NEXT: ret <4 x i64> zeroinitializer
169
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <4 x i64> @llvm.x86.pclmulqdq.256(<4 x i64> <i64 poison, i64 undef, i64 poison, i64 undef>, <4 x i64> <i64 poison, i64 undef, i64 poison, i64 undef>, i8 17)
170
+ ; CHECK-NEXT: ret <4 x i64> [[TMP1]]
163
171
;
164
172
%1 = call <4 x i64 > @llvm.x86.pclmulqdq.256 (<4 x i64 > <i64 1 , i64 undef , i64 1 , i64 undef >, <4 x i64 > <i64 1 , i64 undef , i64 1 , i64 undef >, i8 17 )
165
173
ret <4 x i64 > %1
@@ -235,31 +243,35 @@ define <8 x i64> @test_demanded_elts_pclmulqdq_512_17(<8 x i64> %a0, <8 x i64> %
235
243
236
244
define <8 x i64 > @test_demanded_elts_pclmulqdq_512_undef_0 () {
237
245
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_512_undef_0(
238
- ; CHECK-NEXT: ret <8 x i64> zeroinitializer
246
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <8 x i64> @llvm.x86.pclmulqdq.512(<8 x i64> <i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison>, <8 x i64> <i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison>, i8 0)
247
+ ; CHECK-NEXT: ret <8 x i64> [[TMP1]]
239
248
;
240
249
%1 = call <8 x i64 > @llvm.x86.pclmulqdq.512 (<8 x i64 > <i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 >, <8 x i64 > <i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 >, i8 0 )
241
250
ret <8 x i64 > %1
242
251
}
243
252
244
253
define <8 x i64 > @test_demanded_elts_pclmulqdq_512_undef_1 () {
245
254
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_512_undef_1(
246
- ; CHECK-NEXT: ret <8 x i64> zeroinitializer
255
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <8 x i64> @llvm.x86.pclmulqdq.512(<8 x i64> <i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef>, <8 x i64> <i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison>, i8 1)
256
+ ; CHECK-NEXT: ret <8 x i64> [[TMP1]]
247
257
;
248
258
%1 = call <8 x i64 > @llvm.x86.pclmulqdq.512 (<8 x i64 > <i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef >, <8 x i64 > <i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 >, i8 1 )
249
259
ret <8 x i64 > %1
250
260
}
251
261
252
262
define <8 x i64 > @test_demanded_elts_pclmulqdq_512_undef_16 () {
253
263
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_512_undef_16(
254
- ; CHECK-NEXT: ret <8 x i64> zeroinitializer
264
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <8 x i64> @llvm.x86.pclmulqdq.512(<8 x i64> <i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison>, <8 x i64> <i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef>, i8 16)
265
+ ; CHECK-NEXT: ret <8 x i64> [[TMP1]]
255
266
;
256
267
%1 = call <8 x i64 > @llvm.x86.pclmulqdq.512 (<8 x i64 > <i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 >, <8 x i64 > <i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef >, i8 16 )
257
268
ret <8 x i64 > %1
258
269
}
259
270
260
271
define <8 x i64 > @test_demanded_elts_pclmulqdq_512_undef_17 () {
261
272
; CHECK-LABEL: @test_demanded_elts_pclmulqdq_512_undef_17(
262
- ; CHECK-NEXT: ret <8 x i64> zeroinitializer
273
+ ; CHECK-NEXT: [[TMP1:%.*]] = call <8 x i64> @llvm.x86.pclmulqdq.512(<8 x i64> <i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef>, <8 x i64> <i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef, i64 poison, i64 undef>, i8 17)
274
+ ; CHECK-NEXT: ret <8 x i64> [[TMP1]]
263
275
;
264
276
%1 = call <8 x i64 > @llvm.x86.pclmulqdq.512 (<8 x i64 > <i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef >, <8 x i64 > <i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef , i64 1 , i64 undef >, i8 17 )
265
277
ret <8 x i64 > %1
0 commit comments