Reduce (cmp 0, and_su (foo, bar)) into (bit foo, bar). This saves extra instruction...
[oota-llvm.git] / test / CodeGen / Alpha / zapnot4.ll
1 ; RUN: llc < %s -march=alpha | grep zapnot
2
3 define i64 @foo(i64 %y) {
4         %tmp = shl i64 %y, 3            ; <i64> [#uses=1]
5         %tmp2 = and i64 %tmp, 65535             ; <i64> [#uses=1]
6         ret i64 %tmp2
7 }