mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-07 01:54:50 +00:00
10 lines
180 B
LLVM
10 lines
180 B
LLVM
|
; Make sure this testcase codegens to the lda -1 instruction
|
||
|
; RUN: llvm-as < %s | llc -march=alpha | grep '-1'
|
||
|
|
||
|
implementation ; Functions:
|
||
|
|
||
|
long %bar() {
|
||
|
entry:
|
||
|
ret long -1
|
||
|
}
|