Use SCEVAddRecExpr::isAffine.
[oota-llvm.git] / test / CodeGen / Alpha / zapnot.ll
1 ; Make sure this testcase codegens to the bic instruction
2 ; RUN: llvm-as < %s | llc -march=alpha | grep zapnot
3
4
5 define i16 @foo(i64 %y) zeroext {
6 entry:
7         %tmp.1 = trunc i64 %y to i16         ; <ushort> [#uses=1]
8         ret i16 %tmp.1
9 }