mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
12 lines
199 B
LLVM
12 lines
199 B
LLVM
|
; RUN: llvm-as < %s | 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
|
||
|
}
|