blob: 36b19f3d8c40dd68c506d8a5c4fa5e2cf7e0813b [file] [log] [blame]
Chris Lattner8ea3f1b2004-07-26 05:04:25 +00001; This is a non-normal FP value
John Criswellfad5c3a2004-02-26 22:56:13 +00002; RUN: llvm-as < %s | llc -march=c | grep FPConstant | grep static
John Criswell726f0b82004-02-26 22:55:11 +00003
4float %func () {
Chris Lattner8ea3f1b2004-07-26 05:04:25 +00005 ret float 0xFFF0000000000000 ; -inf
John Criswell726f0b82004-02-26 22:55:11 +00006}
7
Reid Spencer8f6c42b2004-07-26 15:04:13 +00008double %func2() {
9 ret double 0xFF20000000000000 ; -inf
10}