[llvm-commits] CVS: llvm/test/Regression/CodeGen/Alpha/ctlz.ll ctpop.ll

Andrew Lenharth alenhar2 at cs.uiuc.edu
Fri Sep 30 13:30:36 PDT 2005



Changes in directory llvm/test/Regression/CodeGen/Alpha:

ctlz.ll updated: 1.4 -> 1.5
ctpop.ll updated: 1.5 -> 1.6
---
Log message:

more specific tests of subtarget stuff

---
Diffs of the changes:  (+11 -2)

 ctlz.ll  |    6 +++++-
 ctpop.ll |    7 ++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/CodeGen/Alpha/ctlz.ll
diff -u llvm/test/Regression/CodeGen/Alpha/ctlz.ll:1.4 llvm/test/Regression/CodeGen/Alpha/ctlz.ll:1.5
--- llvm/test/Regression/CodeGen/Alpha/ctlz.ll:1.4	Fri May 13 14:49:01 2005
+++ llvm/test/Regression/CodeGen/Alpha/ctlz.ll	Fri Sep 30 15:30:24 2005
@@ -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)
 


Index: llvm/test/Regression/CodeGen/Alpha/ctpop.ll
diff -u llvm/test/Regression/CodeGen/Alpha/ctpop.ll:1.5 llvm/test/Regression/CodeGen/Alpha/ctpop.ll:1.6
--- llvm/test/Regression/CodeGen/Alpha/ctpop.ll:1.5	Fri May 13 21:35:38 2005
+++ llvm/test/Regression/CodeGen/Alpha/ctpop.ll	Fri Sep 30 15:30:24 2005
@@ -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)
 






More information about the llvm-commits mailing list