[clang] [llvm] [DirectX] Remove trivially dead functions at linkage finalize (PR #106146)
    Joshua Batista via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Fri Sep 20 11:30:47 PDT 2024
    
    
  
================
@@ -19,20 +19,20 @@
 using namespace llvm;
 
 static bool finalizeLinkage(Module &M) {
-  SmallPtrSet<Function *, 8> EntriesAndExports;
+  SmallPtrSet<Function *, 8> Funcs;
 
   // Find all entry points and export functions
----------------
bob80905 wrote:
This comment may be better updated to something like:
Collect all non-entry point and non-exported functions to possibly set to internal linkage later.
https://github.com/llvm/llvm-project/pull/106146
    
    
More information about the cfe-commits
mailing list