aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-12 07:31:25 +0000
committerChris Lattner <sabre@nondot.org>2003-10-12 07:31:25 +0000
commitdfaeb0e8b9e739b75fb9f1036f45553f8be4ef5a (patch)
treea5ace5e803b676c42df136b41c92f9982ed37166 /test/CodeGen/CBackend
parent9860e771102e057f581cb251dfa76f5f61db8c41 (diff)
downloadexternal_llvm-dfaeb0e8b9e739b75fb9f1036f45553f8be4ef5a.zip
external_llvm-dfaeb0e8b9e739b75fb9f1036f45553f8be4ef5a.tar.gz
external_llvm-dfaeb0e8b9e739b75fb9f1036f45553f8be4ef5a.tar.bz2
Test that we can emit global initializers that are not normal FP values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r--test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll b/test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll
new file mode 100644
index 0000000..d206998
--- /dev/null
+++ b/test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll
@@ -0,0 +1,3 @@
+; This is a non-normal FP value: it's a nan.
+%NAN = global { float } { float 0x7FF8000000000000 }
+