You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
definei8@nonzero_reduce_xor_vscale_even(<vscale x 2 x i8> %xx) {
1336
1324
; CHECK-LABEL: @nonzero_reduce_xor_vscale_even(
1337
-
; CHECK-NEXT: [[X:%.*]] = or <vscale x 2 x i8> [[XX:%.*]], shufflevector (<vscale x 2 x i8> insertelement (<vscale x 2 x i8> poison, i8 1, i64 0), <vscale x 2 x i8> poison, <vscale x 2 x i32> zeroinitializer)
1338
-
; CHECK-NEXT: [[V:%.*]] = call i8 @llvm.vector.reduce.xor.nxv2i8(<vscale x 2 x i8> [[X]])
1339
-
; CHECK-NEXT: [[R:%.*]] = and i8 [[V]], 1
1340
-
; CHECK-NEXT: ret i8 [[R]]
1325
+
; CHECK-NEXT: ret i8 0
1341
1326
;
1342
1327
%one = insertelement <vscale x 2 x i8> poison, i81, i640
1343
1328
%ones = shufflevector <vscale x 2 x i8> %one, <vscale x 2 x i8> poison, <vscale x 2 x i32> zeroinitializer
@@ -1379,10 +1364,7 @@ define i8 @nonzero_reduce_xor_vscale_even_fail(<vscale x 2 x i8> %xx) {
1379
1364
1380
1365
definei8@nonzero_reduce_xor_vscale_odd(<vscale x 3 x i8> %xx) {
1381
1366
; CHECK-LABEL: @nonzero_reduce_xor_vscale_odd(
1382
-
; CHECK-NEXT: [[X:%.*]] = and <vscale x 3 x i8> [[XX:%.*]], shufflevector (<vscale x 3 x i8> insertelement (<vscale x 3 x i8> poison, i8 1, i64 0), <vscale x 3 x i8> poison, <vscale x 3 x i32> zeroinitializer)
1383
-
; CHECK-NEXT: [[V:%.*]] = call i8 @llvm.vector.reduce.xor.nxv3i8(<vscale x 3 x i8> [[X]])
1384
-
; CHECK-NEXT: [[R:%.*]] = and i8 [[V]], 2
1385
-
; CHECK-NEXT: ret i8 [[R]]
1367
+
; CHECK-NEXT: ret i8 0
1386
1368
;
1387
1369
%one = insertelement <vscale x 3 x i8> poison, i81, i640
1388
1370
%ones = shufflevector <vscale x 3 x i8> %one, <vscale x 3 x i8> poison, <vscale x 3 x i32> zeroinitializer
0 commit comments