summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.ll')
-rw-r--r--test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.ll b/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.ll
new file mode 100644
index 0000000..6f23915
--- /dev/null
+++ b/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.ll
@@ -0,0 +1,11 @@
+; This is a non-normal FP value
+; RUN: llvm-as < %s | llc -march=c | grep FPConstant | grep static
+
+define float @func() {
+ ret float 0xFFF0000000000000
+}
+
+define double @func2() {
+ ret double 0xFF20000000000000
+}
+