aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/Alpha/ctpop.ll
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2005-09-30 20:30:24 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2005-09-30 20:30:24 +0000
commit542f2df2fae2df3c331341377f46d8b7e5684b9e (patch)
treee0f4c83562dac7ee9ea27eb3761a3ba20a33b5f1 /test/CodeGen/Alpha/ctpop.ll
parentac35cd207f3f186aef469cb834eca6ca2f1228f2 (diff)
more specific tests of subtarget stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23570 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Alpha/ctpop.ll')
-rw-r--r--test/CodeGen/Alpha/ctpop.ll7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/CodeGen/Alpha/ctpop.ll b/test/CodeGen/Alpha/ctpop.ll
index 9209bf2080..7da46df16a 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)