aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/2009-10-16-Phi.ll
blob: fc0375186df9390bc0bd1bfd3c01d16b4f4e6b33 (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 = metadata !{i32 42}