aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll
blob: 774639b744ee9699d00b6447de53a078ceeae73f (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-upgrade < %s | llvm-as | 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
}