aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SimplifyCFG/BrUnwind.ll
blob: 94008b0d0f3acae9a8b5083e5a5224c0215d805e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
;RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep 'br label'
void %test(bool %C) {
	br bool %C, label %A, label %B
A:
	call void %test(bool %C)
	br label %X
B:
	call void %test(bool %C)
	br label %X
X:
	unwind
}