aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2002-04-07-InfConstant.ll
blob: 317b8f3654c3a4a7cba33925dcc8a83a3a9f1fe3 (plain)
1
2
3
4
5
6
7
8
9
; The output formater prints out 1.0e100 as Inf!
;
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep 0x7FF0000000000000

define float @test() {
        %tmp = mul float 0x7FF0000000000000, 1.000000e+01               ; <float> [#uses=1]
        ret float %tmp
}