Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jorendumoulin committed Nov 29, 2023
1 parent e7c2888 commit ba5b626
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/filecheck/transforms/copy_to_dma.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@
//CHECK-NEXT: "func.func"() <{"sym_name" = "simple_mult", "function_type" = (memref<?xi32>, memref<?xi32>) -> (), "sym_visibility" = "public"}> ({
//CHECK-NEXT: ^0(%arg0 : memref<?xi32>, %arg1 : memref<?xi32>):
//CHECK-NEXT: %0 = "arith.constant"() <{"value" = 0 : index}> : () -> index
//CHECK-NEXT: %1 = "arith.constant"() <{"value" = 7 : index}> : () -> index
//CHECK-NEXT: %2 = "memref.dim"(%arg0, %0) : (memref<?xi32>, index) -> index
//CHECK-NEXT: %3 = "memref.extract_aligned_pointer_as_index"(%arg0) : (memref<?xi32>) -> index
//CHECK-NEXT: %4 = "memref.extract_aligned_pointer_as_index"(%arg1) : (memref<?xi32>) -> index
//CHECK-NEXT: "func.call"(%3, %4, %2) <{"callee" = @snax_dma_1d_transfer}> : (index, index, index) -> ()
//CHECK-NEXT: %1 = "memref.dim"(%arg0, %0) : (memref<?xi32>, index) -> index
//CHECK-NEXT: %2 = "memref.extract_aligned_pointer_as_index"(%arg0) : (memref<?xi32>) -> index
//CHECK-NEXT: %3 = "memref.extract_aligned_pointer_as_index"(%arg1) : (memref<?xi32>) -> index
//CHECK-NEXT: "func.call"(%2, %3, %1) <{"callee" = @snax_dma_1d_transfer}> : (index, index, index) -> ()
//CHECK-NEXT: "func.return"() : () -> ()
//CHECK-NEXT: }) : () -> ()
//CHECK-NEXT: "func.func"() <{"sym_name" = "snax_dma_1d_transfer", "function_type" = (index, index, index) -> (), "sym_visibility" = "private"}> ({
Expand Down

0 comments on commit ba5b626

Please sign in to comment.