[llvm] [profcheck][coro] Adding Branch weights PGO in Coroutines Passes (PR #184466)

Chuanqi Xu via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 14 22:53:20 PDT 2026


================
@@ -57,6 +58,7 @@ struct Shape {
   SmallVector<CoroSizeInst *, 2> CoroSizes;
   SmallVector<CoroAlignInst *, 2> CoroAligns;
   SmallVector<AnyCoroSuspendInst *, 4> CoroSuspends;
+  SmallDenseMap<AnyCoroSuspendInst *, uint64_t, 4> SuspendFreqs;
----------------
ChuanqiXu9 wrote:

I  think we need some comment here. As the type is not so obvious as others. e.g., what's the meaning of the number

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


More information about the llvm-commits mailing list