diff options
Diffstat (limited to 'test/CodeGen/Alpha/zapnot4.ll')
-rw-r--r-- | test/CodeGen/Alpha/zapnot4.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Alpha/zapnot4.ll b/test/CodeGen/Alpha/zapnot4.ll new file mode 100644 index 0000000..bf1b88b --- /dev/null +++ b/test/CodeGen/Alpha/zapnot4.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=alpha | grep zapnot + +ulong %foo(ulong %y) { + %tmp = shl ulong %y, ubyte 3 ; <ulong> [#uses=1] + %tmp2 = and ulong %tmp, 65535 ; <ulong> [#uses=1] + ret ulong %tmp2 +} + |