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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 07:33:23 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));
----------------
arsenm wrote:

No, that's the next step I'm working towards

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


More information about the llvm-commits mailing list