[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll
Nate Begeman
natebegeman at mac.com
Tue Oct 25 16:53:33 PDT 2005
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
fp_to_uint.ll added (r1.1)
---
Log message:
Add a regression test for the recent fix for FP_TO_UINT lowering in the ppc
backend.
---
Diffs of the changes: (+9 -0)
fp_to_uint.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll:1.1
*** /dev/null Tue Oct 25 18:53:32 2005
--- llvm/test/Regression/CodeGen/PowerPC/fp_to_uint.ll Tue Oct 25 18:53:22 2005
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32 | grep fctiwz | wc -l | grep 1
+
+ implementation
+
+ ushort %foo(float %a) {
+ entry:
+ %tmp.1 = cast float %a to ushort
+ ret ushort %tmp.1
+ }
More information about the llvm-commits
mailing list