1; RUN: opt < %s -gvn -enable-pre -S | grep "b.pre" 2 3define i32 @main(i32 %p, i32 %q) { 4block1: 5 %cmp = icmp eq i32 %p, %q 6 br i1 %cmp, 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