[PATCH] D154922: [BOLT] fix the endless loop of --iterative-guess
    yinchengwu via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Aug  3 17:20:37 PDT 2023
    
    
  
maipianworni updated this revision to Diff 547059.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154922/new/
https://reviews.llvm.org/D154922
Files:
  bolt/lib/Passes/MCF.cpp
Index: bolt/lib/Passes/MCF.cpp
===================================================================
--- bolt/lib/Passes/MCF.cpp
+++ bolt/lib/Passes/MCF.cpp
@@ -264,6 +264,7 @@
       continue;
 
     Pred->getBranchInfo(*BB).Count = Guessed;
+    GuessedArcs.insert(std::make_pair(Pred, BB));
     return true;
   }
   llvm_unreachable("Expected unguessed arc");
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154922.547059.patch
Type: text/x-patch
Size: 362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230804/88815982/attachment.bin>
    
    
More information about the llvm-commits
mailing list