[PATCH] D154922: [BOLT] fix the endless loop of --iterative-guess
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 4 02:03:30 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG892305adb116: [BOLT] fix the endless loop of --iterative-guess (authored by chenpeihao3, committed by Allen).
Repository:
rG LLVM Github Monorepo
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
@@ -262,6 +262,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.547139.patch
Type: text/x-patch
Size: 362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230804/290f4938/attachment.bin>
More information about the llvm-commits
mailing list