summaryrefslogtreecommitdiff
path: root/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx
blob: 36b19f3d8c40dd68c506d8a5c4fa5e2cf7e0813b (plain)
1
2
3
4
5
6
7
8
9
10
; This is a non-normal FP value
; RUN: llvm-as < %s | llc -march=c | grep FPConstant | grep static

float %func () {
  ret float 0xFFF0000000000000  ; -inf
}

double %func2() {
  ret double 0xFF20000000000000  ; -inf
}