llvm-6502/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx

11 lines
234 B
Plaintext
Raw Normal View History

; This is a non-normal FP value
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep FPConstant | grep static
float %func () {
ret float 0xFFF0000000000000 ; -inf
}
double %func2() {
ret double 0xFF20000000000000 ; -inf
}