File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
mlir/test/lib/Dialect/TestIRDLToCpp Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,5 @@ mlir_target_link_libraries(MLIRTestIRDLToCppDialect PUBLIC
1414 MLIRPass
1515 MLIRSCFDialect
1616 MLIRTransforms
17+ MLIRTestDialect
1718)
Original file line number Diff line number Diff line change 1- // RUN: mlir-opt %s --allow-unregistered-dialect -- pass-pipeline="builtin.module(test-irdl-conversion-check)" | FileCheck %s
1+ // RUN: mlir-opt %s --pass-pipeline="builtin.module(test-irdl-conversion-check)" | FileCheck %s
22// CHECK-LABEL: module {
33module {
44 // CHECK: func.func @test(%[[test_arg:[^ ]*]]: i1) {
@@ -14,15 +14,15 @@ module {
1414 " test_irdl_to_cpp.conditional" (%test_arg ) ({
1515 ^cond (%test: i1 ):
1616 %3 = " test_irdl_to_cpp.bar" () : () -> i32
17- " fake .terminator" () : () -> ()
17+ " test .terminator" () : ()-> ()
1818 }, {
1919 ^then (%what: i1 , %ever: i32 ):
2020 %4 = " test_irdl_to_cpp.bar" () : () -> i32
21- " fake .terminator" () : () -> ()
21+ " test .terminator" () : ()-> ()
2222 }, {
2323 ^else ():
2424 %5 = " test_irdl_to_cpp.bar" () : () -> i32
25- " fake .terminator" () : () -> ()
25+ " test .terminator" () : ()-> ()
2626 }) : (i1 ) -> ()
2727 return
2828 }
You can’t perform that action at this time.
0 commit comments