[PATCH] D115205: [CSSPGO] Use nested context-sensitive profile.

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 00:42:10 PST 2021


wenlei added inline comments.


================
Comment at: llvm/test/tools/llvm-profdata/Inputs/cs-sample-preinline.proftext:16
  15: 11
- !Attributes: 1
+ !Attributes: 2
 [external:12 @ main]:154:12
----------------
hoy wrote:
> wenlei wrote:
> > what triggered these attribute value changes?
> It's due to the following change in SampleProfWriter.cpp:
> 
> 
> ```
> if (S.getContext().getAllAttributes()) {
>     OS.indent(Indent + 1);
>     OS << "!Attributes: " << S.getContext().getAllAttributes() << "\n";
> ```
I meant the value change from 0/1 to 2, not the ones that were 0. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115205



More information about the llvm-commits mailing list