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

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 6 21:59:53 PDT 2005



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

fpcopy.ll added (r1.1)
---
Log message:

double to float casts should nto result in an fmr


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

 fpcopy.ll |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/test/Regression/CodeGen/PowerPC/fpcopy.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/fpcopy.ll:1.1
*** /dev/null	Thu Oct  6 23:59:51 2005
--- llvm/test/Regression/CodeGen/PowerPC/fpcopy.ll	Thu Oct  6 23:59:41 2005
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 &&
+ ; RUN: llvm-as < %s | llc -march=ppc32 | not grep fmr
+ 
+ double %test(float %F) {
+ 	%F = cast float %F to double
+ 	ret double %F
+ }






More information about the llvm-commits mailing list