[llvm-commits] CVS: llvm/test/Regression/CodeGen/ARM/fp.ll

Rafael Espindola rafael.espindola at gmail.com
Thu Oct 5 11:49:07 CDT 2006



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

fp.ll updated: 1.3 -> 1.4
---
Log message:

implement a ArgumentLayout class to factor code common to LowerFORMAL_ARGUMENTS and LowerCALL
implement FMDRR
add support for f64 function arguments


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

 fp.ll |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/CodeGen/ARM/fp.ll
diff -u llvm/test/Regression/CodeGen/ARM/fp.ll:1.3 llvm/test/Regression/CodeGen/ARM/fp.ll:1.4
--- llvm/test/Regression/CodeGen/ARM/fp.ll:1.3	Tue Oct  3 12:27:58 2006
+++ llvm/test/Regression/CodeGen/ARM/fp.ll	Thu Oct  5 11:48:49 2006
@@ -1,9 +1,10 @@
 ; RUN: llvm-as < %s | llc -march=arm &&
-; RUN: llvm-as < %s | llc -march=arm | grep fmsr | wc -l | grep 2 &&
+; RUN: llvm-as < %s | llc -march=arm | grep fmsr  | wc -l | grep 2 &&
 ; RUN: llvm-as < %s | llc -march=arm | grep fsitos &&
 ; RUN: llvm-as < %s | llc -march=arm | grep fmrs &&
 ; RUN: llvm-as < %s | llc -march=arm | grep fsitod &&
-; RUN: llvm-as < %s | llc -march=arm | grep fmrrd &&
+; RUN: llvm-as < %s | llc -march=arm | grep fmrrd | wc -l | grep 2 &&
+; RUN: llvm-as < %s | llc -march=arm | grep fmdrr | wc -l | grep 1 &&
 ; RUN: llvm-as < %s | llc -march=arm | grep flds &&
 ; RUN: llvm-as < %s | llc -march=arm | grep ".word.*1065353216"
 
@@ -23,3 +24,7 @@
 entry:
         ret float 1.000000e+00
 }
+
+double %f2(double %a) {
+        ret double %a
+}






More information about the llvm-commits mailing list