llvm-6502/test/CodeGen/Alpha/neg1.ll
2005-04-08 16:46:44 +00:00

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
}