1; RUN: opt < %s -gvn -enable-pre -S | grep {b.pre}
2
3define i32 @main(i32 %p) {
4block1:
5
6 br i1 true, label %block2, label %block3
7
8block2:
9 %a = add i32 %p, 1
10 br label %block4
11
12block3:
13 br label %block4
14
15block4:
16 %b = add i32 %p, 1
17 ret i32 %b
18}
19