From: Chris Lattner Date: Wed, 11 Oct 2006 05:10:19 +0000 (+0000) Subject: new testcase, this should turn into zap X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=3d2da9a426810e48fd797eaa385a5f072ccd5b69;p=oota-llvm.git new testcase, this should turn into zap git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30874 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/Alpha/zapnot4.ll b/test/CodeGen/Alpha/zapnot4.ll new file mode 100644 index 00000000000..bf1b88bed14 --- /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 ; [#uses=1] + %tmp2 = and ulong %tmp, 65535 ; [#uses=1] + ret ulong %tmp2 +} +