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

Avi Kivity via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 18 03:20:18 PDT 2024


avikivity wrote:

Update:
 - added a (hopefully helpful) comment to explain why EdgeCounts is sizes differently than BBCountInfo.OutEdges()
 - added an assertion about the two sizes.

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


More information about the llvm-commits mailing list