diff --git a/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx b/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx new file mode 100644 index 00000000000..bd43d0d1f6b --- /dev/null +++ b/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx @@ -0,0 +1,8 @@ +; This is a non-normal FP value: it's a nan. +; RUN: llvm-as < %s | llc -march=c +; llvm-as < %s | llc -march=c | grep FPConstant | grep static + +float %func () { + ret float 0xFF20000000000000 +} + diff --git a/test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx b/test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx new file mode 100644 index 00000000000..918252d7367 --- /dev/null +++ b/test/CodeGen/CBackend/2004-02-26-LinkOnceFunctions.llx @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc -march=c | grep func1 | grep WEAK + +implementation + +linkonce int %func1 () { + ret int 5 +} +