[PATCH] D67936: HotColdSplitting: invalidate the AssumptionCache on split
    Aditya Kumar via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 23 14:50:01 PDT 2019
    
    
  
hiraditya added inline comments.
================
Comment at: lib/Transforms/IPO/HotColdSplitting.cpp:665
+  if (Changed)
+    LookupAC(F)->clear();
   return Changed;
----------------
LookupAC(F) may return a nullptr, so we might have to take care of that.
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67936/new/
https://reviews.llvm.org/D67936
    
    
More information about the llvm-commits
mailing list