[PATCH] D101759: [PowerPC] Scalar IBM MASS library conversion pass
    Masoud Ataei via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Jan  7 10:54:05 PST 2022
    
    
  
masoud.ataei added inline comments.
================
Comment at: llvm/include/llvm/Analysis/ScalarFuncs.def:19
+TLI_DEFINE_SCALAR_MASS_FUNC("acosf", "__xl_acosf")
+TLI_DEFINE_SCALAR_MASS_FUNC("__acosf_finite", "__xl_acosf")
+TLI_DEFINE_SCALAR_MASS_FUNC("acos", "__xl_acos")
----------------
efriedma wrote:
> Do "__acosf_finite" etc. actually exist on AIX?  I thought they only existed on glibc, and the glibc functions are all deprecated.
> 
> I think I'd prefer to track this information in TargetLibraryInfo, like we do for the vector functions, so we can more easily generalize this mechanism in the future.
Some machines still have the old glibc, so I kept them for compatibility.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101759/new/
https://reviews.llvm.org/D101759
    
    
More information about the llvm-commits
mailing list