blob: 2ed1bf98d76bbb44d424eac7837d52b02957115e [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; Make sure this testcase codegens to the zapnot instruction
2; RUN: llvm-upgrade < %s | llvm-as | 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