1 ; Basic block #2 should not be merged into BB #3!
3 ; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
7 define void @cprop_test12(ptr %data) {
9 %reg108 = load i32, ptr %data ; <i32> [#uses=2]
10 %cond218 = icmp ne i32 %reg108, 5 ; <i1> [#uses=1]
11 br i1 %cond218, label %bb3, label %bb2
14 ; CHECK: br label %bb3
16 bb3: ; preds = %bb2, %bb0
17 %reg117 = phi i32 [ 110, %bb2 ], [ %reg108, %bb0 ] ; <i32> [#uses=1]
18 store i32 %reg117, ptr %data