2005-04-08 16:46:44 +00:00
|
|
|
; Make sure this testcase codegens to the lda -1 instruction
|
2006-12-02 04:23:10 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep '\-1'
|
2005-04-08 16:46:44 +00:00
|
|
|
|
|
|
|
implementation ; Functions:
|
|
|
|
|
|
|
|
long %bar() {
|
|
|
|
entry:
|
|
|
|
ret long -1
|
|
|
|
}
|