aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/SimplifyCFG/HoistCode.ll
blob: b81747716139e3d0a622746f8738c42507f64ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg | llvm-dis | not grep br

void %foo(bool %C, int* %P) {
	br bool %C, label %T, label %F
T:
	store int 7, int* %P
	ret void
F:
	store int 7, int* %P
	ret void
}