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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Fri May 13 12:49:18 PDT 2005



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

ctlz.ll updated: 1.3 -> 1.4
ctpop.ll updated: 1.3 -> 1.4
neg1.ll updated: 1.2 -> 1.3
s4addq.ll updated: 1.4 -> 1.5
---
Log message:

fix regression tests

---
Diffs of the changes:  (+4 -7)

 ctlz.ll   |    3 +--
 ctpop.ll  |    2 +-
 neg1.ll   |    3 +--
 s4addq.ll |    3 +--
 4 files changed, 4 insertions(+), 7 deletions(-)


Index: llvm/test/Regression/CodeGen/Alpha/ctlz.ll
diff -u llvm/test/Regression/CodeGen/Alpha/ctlz.ll:1.3 llvm/test/Regression/CodeGen/Alpha/ctlz.ll:1.4
--- llvm/test/Regression/CodeGen/Alpha/ctlz.ll:1.3	Fri May 13 12:36:00 2005
+++ llvm/test/Regression/CodeGen/Alpha/ctlz.ll	Fri May 13 14:49:01 2005
@@ -1,6 +1,5 @@
 ; Make sure this testcase codegens to the ctlz instruction
-; XFAIL: *
-; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctlz'
+; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | 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.3 llvm/test/Regression/CodeGen/Alpha/ctpop.ll:1.4
--- llvm/test/Regression/CodeGen/Alpha/ctpop.ll:1.3	Fri May 13 12:36:00 2005
+++ llvm/test/Regression/CodeGen/Alpha/ctpop.ll	Fri May 13 14:49:02 2005
@@ -1,6 +1,6 @@
 ; Make sure this testcase codegens to the ctpop instruction
 ; XFAIL: *
-; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctpop'
+; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctpop'
 
 declare long %llvm.ctpop(long)
 


Index: llvm/test/Regression/CodeGen/Alpha/neg1.ll
diff -u llvm/test/Regression/CodeGen/Alpha/neg1.ll:1.2 llvm/test/Regression/CodeGen/Alpha/neg1.ll:1.3
--- llvm/test/Regression/CodeGen/Alpha/neg1.ll:1.2	Fri May 13 12:36:00 2005
+++ llvm/test/Regression/CodeGen/Alpha/neg1.ll	Fri May 13 14:49:02 2005
@@ -1,6 +1,5 @@
 ; Make sure this testcase codegens to the lda -1 instruction
-; XFAIL: *
-; RUN: llvm-as < %s | llc -march=alpha | grep '-1'
+; RUN: llvm-as < %s | llc -march=alpha | grep '\-1'
 
 implementation   ; Functions:
 


Index: llvm/test/Regression/CodeGen/Alpha/s4addq.ll
diff -u llvm/test/Regression/CodeGen/Alpha/s4addq.ll:1.4 llvm/test/Regression/CodeGen/Alpha/s4addq.ll:1.5
--- llvm/test/Regression/CodeGen/Alpha/s4addq.ll:1.4	Fri May 13 12:36:00 2005
+++ llvm/test/Regression/CodeGen/Alpha/s4addq.ll	Fri May 13 14:49:02 2005
@@ -1,12 +1,11 @@
 ; Make sure this testcase codegens to the S4ADDQ instruction
-; XFAIL: *
 ; RUN: llvm-as < %s | llc -march=alpha | grep 's4addq'
 
 implementation   ; Functions:
 
 long %bar(long %x, long %y) {
 entry:
-	%tmp.1 = shl long %x, ubyte 3		; <long> [#uses=1]
+	%tmp.1 = shl long %x, ubyte 2		; <long> [#uses=1]
 	%tmp.3 = add long %tmp.1, %y		; <long> [#uses=1]
 	ret long %tmp.3
 }






More information about the llvm-commits mailing list