mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-05 13:30:38 +00:00
7 lines
107 B
LLVM
7 lines
107 B
LLVM
|
; RUN: llvm-as < %s | llc
|
||
|
|
||
|
define i64 @foo(i64 %a, i64 %b) {
|
||
|
entry:
|
||
|
%c = sub i64 %a, 1
|
||
|
ret i64 %c
|
||
|
}
|