forked from OSchip/llvm-project
12 lines
214 B
LLVM
12 lines
214 B
LLVM
|
; 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
|
||
|
}
|