llvm-6502/test/CodeGen/Alpha/neg1.ll

10 lines
180 B
LLVM
Raw Normal View History

; 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
}