Skip to content

Commit 0c2ad58

Browse files
ftynsefabianmcg
andauthored
Update mlir/test/Dialect/GPU/barrier-elimination.mlir
Co-authored-by: Fabian Mora <[email protected]>
1 parent d880327 commit 0c2ad58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/test/Dialect/GPU/barrier-elimination.mlir

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,8 @@ func.func @nested_loop_barrier_only() attributes {__parallel_region_boundary_for
188188
%c0 = arith.constant 0 : index
189189
%c42 = arith.constant 42 : index
190190
%c1 = arith.constant 1 : index
191+
// Note: the barrier can be removed and as consequence the loops get folded
192+
// by the greedy rewriter.
191193
// CHECK-NOT: scf.for
192194
// CHECK-NOT: gpu.barrier
193195
scf.for %j = %c0 to %c42 step %c1 {

0 commit comments

Comments
 (0)