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