aboutsummaryrefslogtreecommitdiffstats
path: root/test/DebugInfo/2009-10-16-Phi.ll
blob: 0f799e3a7892ce91d0310ad69d9b24095dc087fa (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}