DebugInfo: Fix testcases that fail -verify-debug-info=true
[oota-llvm.git] / test / Transforms / ArgumentPromotion / 2008-09-08-CGUpdateSelfEdge.ll
1 ; RUN: opt < %s -argpromotion -disable-output
2
3 define internal fastcc i32 @term_SharingList(i32* %Term, i32* %List) nounwind {
4 entry:
5         br i1 false, label %bb, label %bb5
6
7 bb:             ; preds = %entry
8         %0 = call fastcc i32 @term_SharingList( i32* null, i32* %List ) nounwind                ; <i32> [#uses=0]
9         unreachable
10
11 bb5:            ; preds = %entry
12         ret i32 0
13 }
14
15 define i32 @term_Sharing(i32* %Term) nounwind {
16 entry:
17         br i1 false, label %bb.i, label %bb14
18
19 bb.i:           ; preds = %entry
20         %0 = call fastcc i32 @term_SharingList( i32* null, i32* null ) nounwind         ; <i32> [#uses=0]
21         ret i32 1
22
23 bb14:           ; preds = %entry
24         ret i32 0
25 }