aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
blob: 3a29cb8318bcc1729b7342404d4795240990699d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-as < %s | opt -simplifycfg -disable-output

bool %foo() {
	%X = invoke bool %foo() to label %N unwind label %F
F:
	ret bool false
N:
	br bool %X, label %A, label %B
A:
	ret bool true
B:
	ret bool true
}