hanchenye-llvm-project/llvm/test/CodeGen/Alpha/neg1.ll

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
}