[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/cttz.ll fsqrt.ll

Reid Spencer reid at x10sys.com
Sat Dec 2 12:38:52 PST 2006



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

cttz.ll updated: 1.2 -> 1.3
fsqrt.ll updated: 1.2 -> 1.3
---
Log message:

Upgrade intrinsic function calls


---
Diffs of the changes:  (+6 -6)

 cttz.ll  |    8 ++++----
 fsqrt.ll |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)


Index: llvm/test/Regression/CodeGen/PowerPC/cttz.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/cttz.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/cttz.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/cttz.ll:1.2	Fri Dec  1 22:23:08 2006
+++ llvm/test/Regression/CodeGen/PowerPC/cttz.ll	Sat Dec  2 14:38:37 2006
@@ -1,12 +1,12 @@
 ; Make sure this testcase does not use ctpop
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | grep -i 'cntlzw'
 
-declare int %llvm.cttz(int)
+declare uint %llvm.cttz.i32(uint)
 
 implementation   ; Functions:
 
-int %bar(int %x) {
+uint %bar(uint %x) {
 entry:
-	%tmp.1 = call int %llvm.cttz( int %x ) 
-	ret int %tmp.1
+	%tmp.1 = call uint %llvm.cttz.i32( uint %x ) 
+	ret uint %tmp.1
 }


Index: llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll
diff -u llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll:1.2 llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll:1.3
--- llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll:1.2	Fri Dec  1 22:23:08 2006
+++ llvm/test/Regression/CodeGen/PowerPC/fsqrt.ll	Sat Dec  2 14:38:37 2006
@@ -6,8 +6,8 @@
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mattr=-fsqrt | not grep 'fsqrt f1, f1' &&
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 -mcpu=g4 | not grep 'fsqrt f1, f1'
 
-declare double %llvm.sqrt(double)
+declare double %llvm.sqrt.f64(double)
 double %X(double %Y) {
-	%Z = call double %llvm.sqrt(double %Y)
+	%Z = call double %llvm.sqrt.f64(double %Y)
 	ret double %Z
 }






More information about the llvm-commits mailing list