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
; CHECK-NEXT: [[TMP3:%.*]] = call <vscale x 1 x i64> @llvm.experimental.vp.strided.load.nxv1i64.p0.i64(ptr [[TMP1]], i64 8, <vscale x 1 x i1> splat (i1 true), i32 [[TMP2]])
474
+
; CHECK-NEXT: [[X:%.*]] = call <vscale x 1 x i64> @llvm.vp.select.nxv1i64(<vscale x 1 x i1> splat (i1 true), <vscale x 1 x i64> [[TMP3]], <vscale x 1 x i64> poison, i32 [[TMP2]])
475
+
; CHECK-NEXT: ret <vscale x 1 x i64> [[X]]
476
+
;
477
+
%step = call <vscale x 1 x i64> @llvm.stepvector.nxv1i64()
478
+
%step.shl = shl <vscale x 1 x i64> %step, splat (i641)
479
+
%add = add <vscale x 1 x i64> %step.shl, splat (i644)
480
+
%zext = zexti1%offsettoi64
481
+
%splat.insert = insertelement <vscale x 1 x i64> poison, i64%zext, i640
482
+
%splat = shufflevector <vscale x 1 x i64> %splat.insert, <vscale x 1 x i64> poison, <vscale x 1 x i32> zeroinitializer
483
+
%offsetv = or disjoint <vscale x 1 x i64> %add, %splat
484
+
%ptrs = getelementptri32, ptr%p, <vscale x 1 x i64> %offsetv
485
+
%x = call <vscale x 1 x i64> @llvm.masked.gather.nxv1i64.nxv1p0(
486
+
<vscale x 1 x ptr> %ptrs,
487
+
i328,
488
+
<vscale x 1 x i1> splat (i1true),
489
+
<vscale x 1 x i64> poison
490
+
)
491
+
ret <vscale x 1 x i64> %x
492
+
}
493
+
467
494
define <vscale x 1 x i64> @straightline_offset_shl(ptr%p) {
0 commit comments