diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-07 07:56:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-07 07:56:08 +0000 |
commit | 186fcf696408bef3fd4159fd55ec19a68dcd1a82 (patch) | |
tree | c8eb0f8a9c3ec64f4830df7fe46a55a0ad09321e | |
parent | 2e8bd68d134c406973d546e1a1c938bc937d2ea4 (diff) | |
download | external_llvm-186fcf696408bef3fd4159fd55ec19a68dcd1a82.zip external_llvm-186fcf696408bef3fd4159fd55ec19a68dcd1a82.tar.gz external_llvm-186fcf696408bef3fd4159fd55ec19a68dcd1a82.tar.bz2 |
Add a testcase I forgot to commit earlier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19338 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/fp-immediate-shorten.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/X86/fp-immediate-shorten.ll b/test/CodeGen/X86/fp-immediate-shorten.ll new file mode 100644 index 0000000..5a19f92 --- /dev/null +++ b/test/CodeGen/X86/fp-immediate-shorten.ll @@ -0,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 } |