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
definevoid@masked_load_store(ptr%ptrs, ptr%val, <vscale x 1 x i1> %mask, <vscale x 1 x i128> %passthru) {
21
24
; CHECK-LABEL: 'masked_load_store'
22
-
; CHECK-NEXT: Invalid cost for instruction: %mload = call <vscale x 1 x i128> @llvm.masked.load.nxv1i128.p0(ptr %val, i32 8, <vscale x 1 x i1> %mask, <vscale x 1 x i128> %passthru)
23
-
; CHECK-NEXT: Invalid cost for instruction: call void @llvm.masked.store.nxv1i128.p0(<vscale x 1 x i128> %mload, ptr %ptrs, i32 8, <vscale x 1 x i1> %mask)
25
+
; CHECK-NEXT: Cost Model: Invalid cost for instruction: %mload = call <vscale x 1 x i128> @llvm.masked.load.nxv1i128.p0(ptr %val, i32 8, <vscale x 1 x i1> %mask, <vscale x 1 x i128> %passthru)
26
+
; CHECK-NEXT: Cost Model: Invalid cost for instruction: call void @llvm.masked.store.nxv1i128.p0(<vscale x 1 x i128> %mload, ptr %ptrs, i32 8, <vscale x 1 x i1> %mask)
27
+
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void
28
+
;
24
29
%mload = call <vscale x 1 x i128> @llvm.masked.load.nxv1i128(ptr%val, i328, <vscale x 1 x i1> %mask, <vscale x 1 x i128> %passthru)
25
30
callvoid@llvm.masked.store.nxv1i128(<vscale x 1 x i128> %mload, ptr%ptrs, i328, <vscale x 1 x i1> %mask)
26
31
retvoid
27
32
}
28
33
29
34
definevoid@masked_gather_scatter(<vscale x 1 x ptr> %ptrs, <vscale x 1 x ptr> %val, <vscale x 1 x i1> %mask, <vscale x 1 x i128> %passthru) {
30
35
; CHECK-LABEL: 'masked_gather_scatter'
31
-
; CHECK-NEXT: Invalid cost for instruction: %mgather = call <vscale x 1 x i128> @llvm.masked.gather.nxv1i128.nxv1p0(<vscale x 1 x ptr> %val, i32 0, <vscale x 1 x i1> %mask, <vscale x 1 x i128> %passthru)
32
-
; CHECK-NEXT: Invalid cost for instruction: call void @llvm.masked.scatter.nxv1i128.nxv1p0(<vscale x 1 x i128> %mgather, <vscale x 1 x ptr> %ptrs, i32 0, <vscale x 1 x i1> %mask)
36
+
; CHECK-NEXT: Cost Model: Invalid cost for instruction: %mgather = call <vscale x 1 x i128> @llvm.masked.gather.nxv1i128.nxv1p0(<vscale x 1 x ptr> %val, i32 0, <vscale x 1 x i1> %mask, <vscale x 1 x i128> %passthru)
37
+
; CHECK-NEXT: Cost Model: Invalid cost for instruction: call void @llvm.masked.scatter.nxv1i128.nxv1p0(<vscale x 1 x i128> %mgather, <vscale x 1 x ptr> %ptrs, i32 0, <vscale x 1 x i1> %mask)
38
+
; CHECK-NEXT: Cost Model: Found an estimated cost of 0 for instruction: ret void
39
+
;
33
40
%mgather = call <vscale x 1 x i128> @llvm.masked.gather.nxv1i128(<vscale x 1 x ptr> %val, i320, <vscale x 1 x i1> %mask, <vscale x 1 x i128> %passthru)
34
41
callvoid@llvm.masked.scatter.nxv1i128(<vscale x 1 x i128> %mgather, <vscale x 1 x ptr> %ptrs, i320, <vscale x 1 x i1> %mask)
0 commit comments