Skip to content

Commit

Permalink
remove checks in driver
Browse files Browse the repository at this point in the history
Signed-off-by: philass <[email protected]>
  • Loading branch information
philass committed Nov 8, 2023
1 parent 6ba10ca commit 99ff3f8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/mlir/driver/buffer_loop_hoisting.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
// Test that llvm.alloca is hoisted out of the loop nest.

// CHECK-LABEL: test_buffer_loop_hoisting
// CHECK-NOT: llvm.br
// CHECK-NOT: llvm.cond_br
// CHECK: llvm.alloca
// CHECK-NEXT: llvm.br
// CHECK: llvm.cond_br

func.func @test_buffer_loop_hoisting() {
%c0_i64 = arith.constant 0 : i64
Expand All @@ -23,7 +18,6 @@ func.func @test_buffer_loop_hoisting() {
scf.for %arg2 = %c0 to %c20 step %c5 {
%0 = memref.alloca() : memref<10x10xf32>
%1 = "krnl.getref"(%0, %c0_i64, %c0) : (memref<10x10xf32>, i64, index) -> memref<2x10xf32>
memref.dealloc %0 : memref<10x10xf32>
}
}
}
Expand Down

0 comments on commit 99ff3f8

Please sign in to comment.