[llvm] TargetLibraryInfo: Assume no libcalls in the default constructor (PR #92400)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 07:29:22 PDT 2024


================
@@ -882,11 +885,19 @@ static void initialize(TargetLibraryInfoImpl &TLI, const Triple &T,
   TLI.addVectorizableFunctionsFromVecLib(ClVectorLibrary, T);
 }
 
-TargetLibraryInfoImpl::TargetLibraryInfoImpl() {
-  // Default to everything being available.
-  memset(AvailableArray, -1, sizeof(AvailableArray));
----------------
jhuber6 wrote:

So we no longer default to everything being available? I'm not disagreeing with it because I think we need to select these more intelligently, but I'm wondering if that has an fallout.

https://github.com/llvm/llvm-project/pull/92400


More information about the llvm-commits mailing list