Skip to content

Commit

Permalink
Use CHECK-DAG for instruction sequence that appear out of order
Browse files Browse the repository at this point in the history
depending on platform.

Co-authored-by: Frank Schlimbach <[email protected]>
  • Loading branch information
silee2 and fschlimb committed Feb 6, 2024
1 parent 245b23d commit 4a868c1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions test/Conversion/DistToStandard/DistToStandard.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,18 @@ module {
}
}
// CHECK-LABEL: func.func @test_local_partition(%arg0: index, %arg1: index, %arg2: index) -> (index, index) {
// CHECK: arith.subi
// CHECK: arith.muli
// CHECK: arith.remsi
// CHECK: arith.divsi
// CHECK-DAG: arith.addi
// CHECK-DAG: arith.cmpi
// CHECK-DAG: arith.select
// CHECK-DAG: arith.addi
// CHECK-DAG: arith.subi
// CHECK-DAG: arith.subi
// CHECK-DAG: arith.maxsi
// CHECK-DAG: arith.muli
// CHECK: arith.addi
// CHECK: arith.maxsi


// -----
Expand Down

0 comments on commit 4a868c1

Please sign in to comment.