brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 5e15fb4 Raw
39 lines · plain
1; RUN: opt -passes='print<regions>' -print-region-style=bb -disable-output < %s 2>&1 | FileCheck -check-prefix=BBIT %s2; RUN: opt -passes='print<regions>' -print-region-style=rn -disable-output < %s 2>&1 | FileCheck -check-prefix=RNIT %s3 4define void @normal_condition_0() nounwind {5bb38:                                             ; preds = %bb34, %bb34, %bb376  switch i32 undef, label %bb42 [7    i32 67, label %bb428    i32 90, label %bb419  ]10bb41:                                             ; preds = %bb3811  br label %bb4212bb42:                                             ; preds = %bb38, %bb38, %bb4113  ret void14}15 16; BBIT: bb38, bb42, bb41,17; BBIT: bb38, bb41,18 19; RNIT: bb38 => bb42, bb42,20; RNIT: bb38, bb41,21 22define void @normal_condition_1() nounwind {23bb38:                                             ; preds = %bb34, %bb34, %bb3724  switch i32 undef, label %bb41 [25    i32 67, label %bb4226    i32 90, label %bb4227  ]28bb41:                                             ; preds = %bb3829  br label %bb4230bb42:                                             ; preds = %bb38, %bb38, %bb4131  ret void32}33 34; BBIT: bb38, bb41, bb42,35; BBIT: bb38, bb41,36 37; RNIT: bb38 => bb42, bb42,38; RNIT: bb38, bb41,39