diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-11 05:10:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-11 05:10:19 +0000 |
commit | 3d2da9a426810e48fd797eaa385a5f072ccd5b69 (patch) | |
tree | 39f09e81fb5ccbaea3f701a7454e5d0f83abd1d5 /test/CodeGen/Alpha | |
parent | 82c3d8f81ab20dc7571f29ffc46a5bb1b7ed8323 (diff) | |
download | external_llvm-3d2da9a426810e48fd797eaa385a5f072ccd5b69.zip external_llvm-3d2da9a426810e48fd797eaa385a5f072ccd5b69.tar.gz external_llvm-3d2da9a426810e48fd797eaa385a5f072ccd5b69.tar.bz2 |
new testcase, this should turn into zap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Alpha')
-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 +} + |