Andrew Lenharth | b8a5d63 | 2005-04-08 16:46:44 +0000 | [diff] [blame] | 1 | ; Make sure this testcase codegens to the lda -1 instruction |
Andrew Lenharth | 3cfc401 | 2005-05-13 19:49:02 +0000 | [diff] [blame] | 2 | ; RUN: llvm-as < %s | llc -march=alpha | grep '\-1' |
Andrew Lenharth | b8a5d63 | 2005-04-08 16:46:44 +0000 | [diff] [blame] | 3 | |
4 | implementation ; Functions: | ||||
5 | |||||
6 | long %bar() { | ||||
7 | entry: | ||||
8 | ret long -1 | ||||
9 | } |