Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ; Make sure this testcase codegens to the zapnot instruction |
2 | ; RUN: llvm-upgrade < %s | llvm-as | 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 |