1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/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
}