1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/Assembler/2002-04-07-InfConstant.llx
Dale Johannesen f9ca7b6094 Change all floating constants that are not exactly
representable to use hex format.

llvm-svn: 41722
2007-09-05 17:50:36 +00:00

12 lines
220 B
Plaintext

; The output formater prints out 1.0e100 as Inf!
;
; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | llvm-as | llvm-dis
implementation
float "test"()
begin
%tmp = mul float 0x7FF0000000000000, 1.0e1
ret float %tmp
end