check that casts still use zap
[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 implementation   ; Functions:
5
6 ushort %foo(long %y) {
7 entry:
8         %tmp.1 = cast long %y to ushort         ; <ushort> [#uses=1]
9         ret ushort %tmp.1
10 }
11