aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/2009-10-16-Phi.ll
blob: e14653f6fcf2866954eac7c2b5130d8e87bd6d74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-as %s -disable-output

define i32 @foo() {
E:
   br label %B2
B1:
   br label %B2
B2:
   %0 = phi i32 [ 0, %E ], [ 1, %B1 ], !dbg !0
   ret i32 %0
}

!0 = !{i32 42}