1 ; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -disable-output
3 define void @test(ptr %ldo, i1 %c, i1 %d) {
5 br i1 %c, label %bb11, label %bb10
8 bb11: ; preds = %bb10, %bb9
9 %reg330 = phi ptr [ null, %bb10 ], [ %ldo, %bb9 ] ; <ptr> [#uses=1]
11 bb20: ; preds = %bb20, %bb11
12 store ptr %reg330, ptr null
13 br i1 %d, label %bb20, label %done