[clang] [llvm] [IR] Do not store Function inside BlockAddress (PR #137958)
    Matt Arsenault via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr 30 06:54:44 PDT 2025
    
    
  
================
@@ -1688,8 +1688,7 @@ class LLVMContextImpl {
 
   StringMap<std::unique_ptr<ConstantDataSequential>> CDSConstants;
 
-  DenseMap<std::pair<const Function *, const BasicBlock *>, BlockAddress *>
-      BlockAddresses;
+  DenseMap<const BasicBlock *, BlockAddress *> BlockAddresses;
----------------
arsenm wrote:
I'm working on moving this out of the LLVMContext 
https://github.com/llvm/llvm-project/pull/137958
    
    
More information about the llvm-commits
mailing list