[llvm] [Instrumentation] Fix EdgeCounts vector size in SetBranchWeights (PR #99064)

Avi Kivity via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 21 03:55:23 PDT 2024


================
@@ -1624,7 +1624,9 @@ void PGOUseFunc::setBranchWeights() {
 
     // We have a non-zero Branch BB.
     unsigned Size = BBCountInfo.OutEdges.size();
----------------
avikivity wrote:

Done.

https://github.com/llvm/llvm-project/pull/99064


More information about the llvm-commits mailing list