[llvm-commits] CVS: llvm/test/CodeGen/ARM/fptoint.ll
Evan Cheng
evan.cheng at apple.com
Wed May 9 14:54:53 PDT 2007
Changes in directory llvm/test/CodeGen/ARM:
fptoint.ll updated: 1.2 -> 1.3
---
Log message:
Can't fold bit_convert into truncating store.
---
Diffs of the changes: (+7 -1)
fptoint.ll | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/test/CodeGen/ARM/fptoint.ll
diff -u llvm/test/CodeGen/ARM/fptoint.ll:1.2 llvm/test/CodeGen/ARM/fptoint.ll:1.3
--- llvm/test/CodeGen/ARM/fptoint.ll:1.2 Mon May 7 16:49:35 2007
+++ llvm/test/CodeGen/ARM/fptoint.ll Wed May 9 16:54:34 2007
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | not grep fmrs
+; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | grep fmrs | wc -l | grep 1
; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | not grep fmrrd
@i = weak global i32 0 ; <i32*> [#uses=2]
@@ -39,3 +39,9 @@
store i32 %tmp1, i32* @u
ret void
}
+
+define void @foo9(double %x) {
+ %tmp = fptoui double %x to i16
+ store i16 %tmp, i16* null
+ ret void
+}
More information about the llvm-commits
mailing list