YouCompleteMe/cpp/llvm/test/Transforms/SimplifyCFG/HoistCode.ll
2012-07-05 17:51:06 -07: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
}