summaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyCFG/BrUnwind.ll
blob: 64264175ae9974761c87ecfe07c5f1d23d6dce45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
;RUN: llvm-as < %s | 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
}