[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/store-fp-constant.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 7 21:44:23 PST 2005
Changes in directory llvm/test/Regression/CodeGen/X86:
store-fp-constant.ll added (r1.1)
---
Log message:
New testcase.
---
Diffs of the changes: (+19 -0)
Index: llvm/test/Regression/CodeGen/X86/store-fp-constant.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/store-fp-constant.ll:1.1
*** /dev/null Fri Jan 7 23:44:18 2005
--- llvm/test/Regression/CodeGen/X86/store-fp-constant.ll Fri Jan 7 23:44:07 2005
***************
*** 0 ****
--- 1,19 ----
+ ; RUN: llvm-as < %s | llc -march=x86 | not grep rodata
+ ;
+ ; Check that no FP constants in this testcase ends up in the
+ ; constant pool.
+ %G = external global float
+
+
+ declare void %extfloat(float %F)
+ declare void %extdouble(double)
+
+ implementation
+
+ void %testfloatstore() {
+ call void %extfloat(float 1234.4)
+ call void %extdouble(double 1234.4123)
+ store float 13.0123, float* %G
+ ret void
+ }
+
More information about the llvm-commits
mailing list