From: Andrew Lenharth Date: Thu, 14 Apr 2005 16:17:49 +0000 (+0000) Subject: added a random and mask test X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=80563ff1a520653391742e206e94d6a3a0e7de41;p=oota-llvm.git added a random and mask test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21301 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/Alpha/zapnot2.ll b/test/CodeGen/Alpha/zapnot2.ll new file mode 100644 index 00000000000..342c269cde8 --- /dev/null +++ b/test/CodeGen/Alpha/zapnot2.ll @@ -0,0 +1,10 @@ +; Make sure this testcase codegens to the zapnot instruction +; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot' + +implementation ; Functions: + +long %bar(long %x) { +entry: + %tmp.1 = and long %x, 255 ; [#uses=1] + ret long %tmp.2 +}