Andrew Lenharth | bd7c22c | 2006-02-13 18:52:01 +0000 | [diff] [blame] | 1 | ; Make sure this testcase codegens to the zapnot instruction |
2 | ; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot' | ||||
3 | |||||
4 | ulong %foo(ulong %y) { | ||||
5 | entry: | ||||
6 | %tmp = shr ulong %y, ubyte 3 ; <ulong> [#uses=1] | ||||
7 | %tmp2 = and ulong %tmp, 8191 ; <ulong> [#uses=1] | ||||
8 | ret ulong %tmp2 | ||||
9 | } | ||||
10 |