Fix PR6300.
[oota-llvm.git] / test / CodeGen / Alpha / neg1.ll
index ebf2ac4fd65ef9a4a7b0fc07357e54ffc9471eb2..0db767f68e517a6d09905430102a3b990f49036e 100644 (file)
@@ -1,10 +1,7 @@
 ; Make sure this testcase codegens to the lda -1 instruction
-; XFAIL: *
-; RUN: llvm-as < %s | llc -march=alpha | grep '-1'
+; RUN: llc < %s -march=alpha | grep {\\-1}
 
-implementation   ; Functions:
-
-long %bar() {
+define i64 @bar() {
 entry:
-       ret long -1
+       ret i64 -1
 }