blob: 5d3c2b6d61010b0c5689c9c1da90104709d276ed [file] [log] [blame]
Andrew Lenharthbd7c22c2006-02-13 18:52:01 +00001; Make sure this testcase codegens to the zapnot instruction
2; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
3
4ulong %foo(ulong %y) {
5entry:
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