mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00:00
60b7b29981
llvm-svn: 48483
12 lines
289 B
LLVM
12 lines
289 B
LLVM
; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | 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
|
|
}
|