summaryrefslogtreecommitdiff
path: root/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll
blob: 090b7799435271d800775f782c2b0bad6712e7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; RUN: llvm-as < %s | opt -inline -disable-output
implementation   

int %main() {
entry:
	invoke void %__main( )
			to label %else except label %RethrowExcept

else:
	%i.2 = phi int [ 36, %entry ], [ %i.2, %LJDecisionBB ]
	br label %LJDecisionBB

LJDecisionBB:
	br label %else

RethrowExcept:
	ret int 0
}

void %__main() {
	ret void
}