aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll')
-rw-r--r--test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll5
1 files changed, 5 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..a82d7e5
--- /dev/null
+++ b/test/CodeGen/CBackend/2003-10-12-NANGlobalInits.ll
@@ -0,0 +1,5 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
+
+; This is a non-normal FP value: it's a nan.
+%NAN = global { float } { float 0x7FF8000000000000 }
+%NANs = global { float } { float 0x7FF4000000000000 }