Skip to content

Commit edfef77

Browse files
committed
Add check for out-of-bound on loads
Signed-off-by: Ettore Tiotto <[email protected]>
1 parent 98fe647 commit edfef77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Triton/Intel/FuseReshape/fuse-reshape.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ tt.func public @fuseLoadWithReshape3(%a_ptr: !tt.ptr<f32> {tt.divisibility = 16
140140
// CHECK: [[COND:%.*]] = arith.cmpi ult, [[ADD2]], [[TRUNC]] : i32
141141
// CHECK: scf.for {{.*}} = %c0_i32 to {{.*}} step %c32_i32 iter_args([[ARG:%.*]] = [[PTR]]
142142
// CHECK: [[IF_RES:%.*]] = scf.if [[COND]] -> (tensor<256x32xf32>) {
143-
// CHECK: [[LOAD_A:%.*]] = tt.load [[ARG]] {boundaryCheck = array<i32: 0, 1>} : !tt.ptr<tensor<256x32xf32>>
143+
// CHECK: [[LOAD_A:%.*]] = tt.load [[ARG]] {boundaryCheck = array<i32: 0, 1>} : !tt.ptr<tensor<256x32xf32>>
144144
// CHECK: scf.yield [[LOAD_A]] : tensor<256x32xf32>
145145
// CHECK: } else {
146146
// CHECK: [[ZERO:%.*]] = arith.constant dense<0.000000e+00> : tensor<256x32xf32>

0 commit comments

Comments
 (0)