[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/fp-immediate-shorten.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Jan 6 23:56:23 PST 2005



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

fp-immediate-shorten.ll added (r1.1)
---
Log message:

Add a testcase I forgot to commit earlier.


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

Index: llvm/test/Regression/CodeGen/X86/fp-immediate-shorten.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/fp-immediate-shorten.ll:1.1
*** /dev/null	Fri Jan  7 01:56:18 2005
--- llvm/test/Regression/CodeGen/X86/fp-immediate-shorten.ll	Fri Jan  7 01:56:08 2005
***************
*** 0 ****
--- 1,5 ----
+ ;; Test that this FP immediate is stored in the constant pool as a float.
+ 
+ ; RUN: llvm-as < %s | llc -march=x86 | grep '.long.1123418112'
+ 
+ double %D() { ret double 123.0 }






More information about the llvm-commits mailing list