Use SCEVAddRecExpr::isAffine.
[oota-llvm.git] / test / CodeGen / Alpha / zapnot.ll
index aaeaa115d44bcfaa645086ffaed3a400dbe41352..7fec19bdf3f572a8d7d73164ef2b1fc675fca72b 100644 (file)
@@ -1,9 +1,8 @@
 ; Make sure this testcase codegens to the bic instruction
-; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
+; RUN: llvm-as < %s | llc -march=alpha | grep zapnot
 
-implementation   ; Functions:
 
-define i16 @zext %foo(i64 %y) {
+define i16 @foo(i64 %y) zeroext {
 entry:
         %tmp.1 = trunc i64 %y to i16         ; <ushort> [#uses=1]
         ret i16 %tmp.1