YouCompleteMe/cpp/llvm/test/DebugInfo/2009-10-16-Phi.ll

14 lines
186 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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}