llvm/test/Transforms/SimplifyCFG/HoistCode.ll
2009-09-11 17:02:12 +00:00

12 lines
271 B
LLVM

; RUN: opt < %s -simplifycfg -S | not grep br
define void @foo(i1 %C, i32* %P) {
br i1 %C, label %T, label %F
T: ; preds = %0
store i32 7, i32* %P
ret void
F: ; preds = %0
store i32 7, i32* %P
ret void
}