Use SCEVAddRecExpr::isAffine.
[oota-llvm.git] / test / CodeGen / Alpha / zapnot2.ll
index 50ab112b3e819ed7b452dd9b8ff0faa6602e8b5c..6a33ca2ab21f2d5594bd3fbc98cf17f4ac692300 100644 (file)
@@ -1,10 +1,9 @@
 ; Make sure this testcase codegens to the zapnot instruction
-; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
+; RUN: llvm-as < %s | llc -march=alpha | grep zapnot
 
-implementation   ; Functions:
-
-long %bar(long %x) {
+define i64 @bar(i64 %x) {
 entry:
-       %tmp.1 = and long %x, 16711935          ; <long> [#uses=1]
-       ret long %tmp.1
+        %tmp.1 = and i64 %x, 16711935           ; <i64> [#uses=1]
+        ret i64 %tmp.1
 }
+