Chris Lattner | 8ea3f1b | 2004-07-26 05:04:25 +0000 | [diff] [blame] | 1 | ; This is a non-normal FP value |
John Criswell | fad5c3a | 2004-02-26 22:56:13 +0000 | [diff] [blame] | 2 | ; RUN: llvm-as < %s | llc -march=c | grep FPConstant | grep static |
John Criswell | 726f0b8 | 2004-02-26 22:55:11 +0000 | [diff] [blame] | 3 | |
| 4 | float %func () { |
Chris Lattner | 8ea3f1b | 2004-07-26 05:04:25 +0000 | [diff] [blame] | 5 | ret float 0xFFF0000000000000 ; -inf |
John Criswell | 726f0b8 | 2004-02-26 22:55:11 +0000 | [diff] [blame] | 6 | } |
| 7 | |
Reid Spencer | 8f6c42b | 2004-07-26 15:04:13 +0000 | [diff] [blame] | 8 | double %func2() { |
| 9 | ret double 0xFF20000000000000 ; -inf |
| 10 | } |