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