aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
blob: c3b4194e1e72eec4940d2c2a7823ae43766e277c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llvm-upgrade < %s | llvm-as | 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
}