[llvm-commits] CVS: llvm/test/Transforms/ConstProp/calls.ll

Reid Spencer reid at x10sys.com
Sat Apr 14 16:18:19 PDT 2007



Changes in directory llvm/test/Transforms/ConstProp:

calls.ll updated: 1.5 -> 1.6
---
Log message:

Oops. A little aggressive on the name changes there.


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

 calls.ll |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm/test/Transforms/ConstProp/calls.ll
diff -u llvm/test/Transforms/ConstProp/calls.ll:1.5 llvm/test/Transforms/ConstProp/calls.ll:1.6
--- llvm/test/Transforms/ConstProp/calls.ll:1.5	Sat Apr 14 18:04:54 2007
+++ llvm/test/Transforms/ConstProp/calls.ll	Sat Apr 14 18:17:58 2007
@@ -1,18 +1,18 @@
 ; RUN: llvm-upgrade < %s | llvm-as | opt -constprop | llvm-dis | not grep call
 
-declare double %cos.f64(double)
-declare double %sin.f64(double)
-declare double %tan.f64(double)
-declare double %sqrt.f64(double)
+declare double %cos(double)
+declare double %sin(double)
+declare double %tan(double)
+declare double %sqrt(double)
 declare bool %llvm.isunordered.f64(double, double)
 
 double %T() {
-	%A = call double %cos.f64(double 0.0)
-	%B = call double %sin.f64(double 0.0)
+	%A = call double %cos(double 0.0)
+	%B = call double %sin(double 0.0)
 	%a = add double %A, %B
-	%C = call double %tan.f64(double 0.0)
+	%C = call double %tan(double 0.0)
 	%b = add double %a, %C
-	%D = call double %sqrt.f64(double 4.0)
+	%D = call double %sqrt(double 4.0)
 	%c = add double %b, %D
 	ret double %c
 }






More information about the llvm-commits mailing list