llvm-6502/test/CodeGen/Alpha/neg1.ll
2006-12-02 04:23:10 +00:00

10 lines
196 B
LLVM

; Make sure this testcase codegens to the lda -1 instruction
; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep '\-1'
implementation ; Functions:
long %bar() {
entry:
ret long -1
}