[llvm] llvm-tli-checker: Remove TLINameList helper struct (PR #142535)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 23:02:13 PDT 2025


================
@@ -110,43 +110,31 @@ static std::string getPrintableName(StringRef Name) {
   return OutputName;
 }
 
-// Store all the names that TargetLibraryInfo knows about; the bool indicates
-// whether TLI has it marked as "available" for the target of interest.
-// This is a vector to preserve the sorted order for better reporting.
-struct TLINameList : std::vector<std::pair<StringRef, bool>> {
-  // Record all the TLI info in the vector.
-  void initialize(StringRef TargetTriple);
-  // Print out what we found.
-  void dump();
-};
-static TLINameList TLINames;
-
-void TLINameList::initialize(StringRef TargetTriple) {
----------------
arsenm wrote:

There should be no initialization. This is supposed to report directly from TLI, it doesn't need this intermediate step

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


More information about the llvm-commits mailing list