We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d880327 commit 0c2ad58Copy full SHA for 0c2ad58
mlir/test/Dialect/GPU/barrier-elimination.mlir
@@ -188,6 +188,8 @@ func.func @nested_loop_barrier_only() attributes {__parallel_region_boundary_for
188
%c0 = arith.constant 0 : index
189
%c42 = arith.constant 42 : index
190
%c1 = arith.constant 1 : index
191
+ // Note: the barrier can be removed and as consequence the loops get folded
192
+ // by the greedy rewriter.
193
// CHECK-NOT: scf.for
194
// CHECK-NOT: gpu.barrier
195
scf.for %j = %c0 to %c42 step %c1 {
0 commit comments