diff options
Diffstat (limited to 'llvm/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx')
-rw-r--r-- | llvm/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx b/llvm/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx index 87a642b69d6..6f23915a75c 100644 --- a/llvm/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx +++ b/llvm/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx @@ -1,10 +1,11 @@ ; This is a non-normal FP value -; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep FPConstant | grep static +; RUN: llvm-as < %s | llc -march=c | grep FPConstant | grep static -float %func () { - ret float 0xFFF0000000000000 ; -inf +define float @func() { + ret float 0xFFF0000000000000 } -double %func2() { - ret double 0xFF20000000000000 ; -inf +define double @func2() { + ret double 0xFF20000000000000 } + |