YouCompleteMe/cpp/llvm/test/Assembler/2002-04-07-InfConstant.ll

10 lines
272 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; 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 = fmul float 0x7FF0000000000000, 1.000000e+01 ; <float> [#uses=1]
ret float %tmp
}