xref: /llvm-project/llvm/test/Transforms/ArgumentPromotion/2008-09-08-CGUpdateSelfEdge.ll (revision bcbc6151640f53e9d78392c66de9760c664d8b1d)
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --scrub-attributes
2; RUN: opt < %s -passes=argpromotion -disable-output
3
4define internal fastcc i32 @term_SharingList(ptr %Term, ptr %List) nounwind {
5entry:
6  br i1 false, label %bb, label %bb5
7
8bb:		; preds = %entry
9  %0 = call fastcc i32 @term_SharingList( ptr null, ptr %List ) nounwind		; <i32> [#uses=0]
10  unreachable
11
12bb5:		; preds = %entry
13  ret i32 0
14}
15
16define i32 @term_Sharing(ptr %Term) nounwind {
17entry:
18  br i1 false, label %bb.i, label %bb14
19
20bb.i:		; preds = %entry
21  %0 = call fastcc i32 @term_SharingList( ptr null, ptr null ) nounwind		; <i32> [#uses=0]
22  ret i32 1
23
24bb14:		; preds = %entry
25  ret i32 0
26}
27