mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 20:49:14 +02:00
* fixed llvm second_int_to_real for comp
git-svn-id: trunk@32464 -
This commit is contained in:
parent
688b9c0a69
commit
13cf405f8c
@ -144,7 +144,7 @@ procedure tllvmtypeconvnode.second_int_to_real;
|
||||
else
|
||||
op:=la_uitofp;
|
||||
{ see comment about currency in thlcgllvm.a_loadfpu_ref_reg }
|
||||
if not is_currency(resultdef) then
|
||||
if not(tfloatdef(resultdef).floattype in [s64comp,s64currency]) then
|
||||
llvmtodef:=resultdef
|
||||
else
|
||||
llvmtodef:=s80floattype;
|
||||
|
Loading…
Reference in New Issue
Block a user