[PATCH] D99441: [CSSPGO][NFC] Fix a debug dump issue.

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 26 15:45:21 PDT 2021


hoy added a comment.

In D99441#2653814 <https://reviews.llvm.org/D99441#2653814>, @wenlei wrote:

> The printing and the wording were intentional - here we're promoting a context, and it doesn't have to be a context with profile. I wanted to capture the tree transformation, not limited to nodes with profile.

I see. If there's a descendent node with a profile along the current path, the tree transformation can be captured by the promotion of the descendent later? The printing AVs because of a null `ToNode->getFunctionSamples()`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99441/new/

https://reviews.llvm.org/D99441



More information about the llvm-commits mailing list