mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 22:32:38 +00:00
15 lines
207 B
LLVM
15 lines
207 B
LLVM
|
; RUN: llvm-as < %s | opt -sccp -disable-output
|
||
|
|
||
|
implementation
|
||
|
|
||
|
declare int %foo()
|
||
|
|
||
|
void %caller() {
|
||
|
br bool true, label %T, label %F
|
||
|
F:
|
||
|
%X = invoke int %foo() to label %T unwind label %T
|
||
|
|
||
|
T:
|
||
|
ret void
|
||
|
}
|