File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -2444,21 +2444,15 @@ int testBlockPredecessorsSuccessors(MlirContext ctx) {
2444
2444
// CHECK-LABEL: @testBlockPredecessorsSuccessors
2445
2445
fprintf (stderr , "@testBlockPredecessorsSuccessors\n" );
2446
2446
2447
- const char * moduleString = R "" "(
2448
- #loc2 = loc("arg1")
2449
- #loc3 = loc("middle")
2450
- #loc4 = loc("successor")
2451
- module {
2452
- func .func @test (%arg0 : i32 loc ("arg0" ), %arg1 : i16 loc ("arg1" )) {
2453
- cf .br ^bb1 (%arg1 : i16 ) loc (#loc )
2454
- ^bb1 (%0 : i16 loc ("middle" )): // pred: ^bb0
2455
- cf .br ^bb2 (%arg0 : i32 ) loc (#loc )
2456
- ^bb2 (%1 : i32 loc ("successor" )): // pred: ^bb1
2457
- return loc (#loc )
2458
- } loc (#loc )
2459
- } loc (#loc )
2460
- #loc = loc(unknown)
2461
- )"" ";
2447
+ const char * moduleString = "module {\n"
2448
+ " func.func @test(%arg0: i32, %arg1: i16) {\n"
2449
+ " cf.br ^bb1(%arg1 : i16)\n"
2450
+ " ^bb1(%0: i16): // pred: ^bb0\n"
2451
+ " cf.br ^bb2(%arg0 : i32)\n"
2452
+ " ^bb2(%1: i32): // pred: ^bb1\n"
2453
+ " return\n"
2454
+ " }\n"
2455
+ "}\n" ;
2462
2456
2463
2457
MlirModule module =
2464
2458
mlirModuleCreateParse (ctx , mlirStringRefCreateFromCString (moduleString ));
You can’t perform that action at this time.
0 commit comments