Browse Source

* LLVM does not have an intrinsic for int/frac, so don't replace frac with
a call to runerror(207) there

git-svn-id: trunk@49337 -

Jonas Maebe 4 years ago
parent
commit
3c205f895c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/aarch64/math.inc

+ 2 - 2
rtl/aarch64/math.inc

@@ -51,7 +51,7 @@
     {$endif FPC_SYSTEM_HAS_SQRT}
     {$endif FPC_SYSTEM_HAS_SQRT}
 
 
 
 
-{$ifndef VER3_2}
+{$if not defined(VER3_2) and not defined(CPULLVM)}
     {$ifndef FPC_SYSTEM_HAS_FRAC}
     {$ifndef FPC_SYSTEM_HAS_FRAC}
     {$define FPC_SYSTEM_HAS_FRAC}
     {$define FPC_SYSTEM_HAS_FRAC}
     function fpc_frac_real(d : ValReal) : ValReal;compilerproc;
     function fpc_frac_real(d : ValReal) : ValReal;compilerproc;
@@ -61,7 +61,7 @@
         result:=0;
         result:=0;
       end;
       end;
     {$endif FPC_SYSTEM_HAS_FRAC}
     {$endif FPC_SYSTEM_HAS_FRAC}
-{$endif VER3_2}
+{$endif not VER3_2 and not CPULLVM }
 
 
 
 
     {$ifndef FPC_SYSTEM_HAS_INT}
     {$ifndef FPC_SYSTEM_HAS_INT}