blob: 2b4c49b04e0960f5ece4cb6cc9a8eaf81863a9df [file] [log] [blame]
Dan Gohmanb1e1e822009-09-08 16:50:01 +00001; RUN: opt %s -argpromotion -disable-output
Duncan Sands34c88472008-09-08 11:07:35 +00002
3define internal fastcc i32 @term_SharingList(i32* %Term, i32* %List) nounwind {
4entry:
5 br i1 false, label %bb, label %bb5
6
7bb: ; preds = %entry
8 %0 = call fastcc i32 @term_SharingList( i32* null, i32* %List ) nounwind ; <i32> [#uses=0]
9 unreachable
10
11bb5: ; preds = %entry
12 ret i32 0
13}
14
15define i32 @term_Sharing(i32* %Term) nounwind {
16entry:
17 br i1 false, label %bb.i, label %bb14
18
19bb.i: ; preds = %entry
20 %0 = call fastcc i32 @term_SharingList( i32* null, i32* null ) nounwind ; <i32> [#uses=0]
21 ret i32 1
22
23bb14: ; preds = %entry
24 ret i32 0
25}