llvm-6502/test/CodeGen/CBackend/2004-02-26-FPNotPrintableConstants.llx
2006-12-02 04:23:10 +00:00

11 lines
234 B
Plaintext

; 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
}