Test that we can emit global initializers that are not normal FP values
authorChris Lattner <sabre@nondot.org>
Sun, 12 Oct 2003 07:31:25 +0000 (07:31 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 12 Oct 2003 07:31:25 +0000 (07:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9050 91177308-0d34-0410-b5e6-96231b3b80d8

test/CBackend/2003-10-12-NANGlobalInits.ll [new file with mode: 0644]
test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll [new file with mode: 0644]

diff --git a/test/CBackend/2003-10-12-NANGlobalInits.ll b/test/CBackend/2003-10-12-NANGlobalInits.ll
new file mode 100644 (file)
index 0000000..d206998
--- /dev/null
@@ -0,0 +1,3 @@
+; This is a non-normal FP value: it's a nan.
+%NAN = global { float } { float 0x7FF8000000000000 } 
+
diff --git a/test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll b/test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll
new file mode 100644 (file)
index 0000000..d206998
--- /dev/null
@@ -0,0 +1,3 @@
+; This is a non-normal FP value: it's a nan.
+%NAN = global { float } { float 0x7FF8000000000000 } 
+