aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2004-12-06-ConstantFloatRange.ll
blob: cc74392ff953ee8ed77b7487543b044debbd788b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-upgrade %s | llvm-as -o /dev/null -f |& \
; RUN:    grep {constant invalid for type}
; XFAIL: *

;; This is a testcase for PR409

; make sure that 'float' values are in range

%D1 = constant double 3.40282347e+39
%D2 = constant double -3.40282347e+39
%F1 = constant float 3.40282346e+38
%F2 = constant float -3.40282346e+38
%D1 = constant float 3.40282347e+39
%D2 = constant float -3.40282347e+39