From: Andrew Lenharth Date: Fri, 30 Sep 2005 20:30:24 +0000 (+0000) Subject: more specific tests of subtarget stuff X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=542f2df2fae2df3c331341377f46d8b7e5684b9e;p=oota-llvm.git more specific tests of subtarget stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23570 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/Alpha/ctlz.ll b/test/CodeGen/Alpha/ctlz.ll index 390825ce1b0..8b6526a8cd7 100644 --- a/test/CodeGen/Alpha/ctlz.ll +++ b/test/CodeGen/Alpha/ctlz.ll @@ -1,5 +1,9 @@ ; Make sure this testcase codegens to the ctlz instruction -; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctlz' +; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev67 | grep -i 'ctlz' +; RUN: llvm-as < %s | llc -march=alpha -mattr=+CIX | grep -i 'ctlz' +; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev6 | not grep -i 'ctlz' +; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev56 | not grep -i 'ctlz' +; RUN: llvm-as < %s | llc -march=alpha -mattr=-CIX | not grep -i 'ctlz' declare ubyte %llvm.ctlz(ubyte) diff --git a/test/CodeGen/Alpha/ctpop.ll b/test/CodeGen/Alpha/ctpop.ll index 9209bf20802..7da46df16ab 100644 --- a/test/CodeGen/Alpha/ctpop.ll +++ b/test/CodeGen/Alpha/ctpop.ll @@ -1,5 +1,10 @@ ; Make sure this testcase codegens to the ctpop instruction -; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctpop' +; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev67 | grep -i 'ctpop' +; RUN: llvm-as < %s | llc -march=alpha -mattr=+CIX | grep -i 'ctpop' +; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev6 | not grep -i 'ctpop' +; RUN: llvm-as < %s | llc -march=alpha -mcpu=ev56 | not grep -i 'ctpop' +; RUN: llvm-as < %s | llc -march=alpha -mattr=-CIX | not grep -i 'ctpop' + declare long %llvm.ctpop(long)