Use SCEVAddRecExpr::isAffine.
[oota-llvm.git] / test / CodeGen / Alpha / eqv.ll
index 2358c92f494ee94ff4d327579620d32b31d5b3bc..2539d72474487f81ea160e721de942b65799100a 100644 (file)
@@ -1,11 +1,10 @@
 ; Make sure this testcase codegens to the eqv instruction
-; RUN: llvm-as < %s | llc -march=alpha | grep 'eqv'
+; RUN: llvm-as < %s | llc -march=alpha | grep eqv
 
-implementation   ; Functions:
-
-long %bar(long %x, long %y) {
+define i64 @bar(i64 %x, i64 %y) {
 entry:
-       %tmp.1 = xor long %x, -1                ; <long> [#uses=1]
-        %tmp.2 = xor long %y, %tmp.1
-       ret long %tmp.2
+        %tmp.1 = xor i64 %x, -1         ; <i64> [#uses=1]
+        %tmp.2 = xor i64 %y, %tmp.1             ; <i64> [#uses=1]
+        ret i64 %tmp.2
 }
+