1; Basic block #2 should not be merged into BB #3! 2; 3; RUN: opt < %s -simplifycfg -S | \ 4; RUN: grep {br label} 5; 6 7declare void @foo() 8 9define void @cprop_test12(i32* %data) { 10bb0: 11 %reg108 = load i32* %data ; <i32> [#uses=2] 12 %cond218 = icmp ne i32 %reg108, 5 ; <i1> [#uses=1] 13 br i1 %cond218, label %bb3, label %bb2 14bb2: ; preds = %bb0 15 call void @foo( ) 16 br label %bb3 17bb3: ; preds = %bb2, %bb0 18 %reg117 = phi i32 [ 110, %bb2 ], [ %reg108, %bb0 ] ; <i32> [#uses=1] 19 store i32 %reg117, i32* %data 20 ret void 21} 22 23