[PATCH] D104579: [SampleFDO] Add Pass1 of MIRAddFSDiscriminatorsPass before Block-Placement

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 18 20:06:28 PDT 2021


wenlei added a comment.

In D104579#2828504 <https://reviews.llvm.org/D104579#2828504>, @xur wrote:

> This might just be specific to our deployment. Our AFDO optimized build
> uses the profile generated in the previous release.
> If we hold this Pass1 discriminator change and commit together with the FS
> profile change. We won't see the FSAFDO performance in the release right
> after -- we need to wait for another release to get all the samples with
> Pass1 discriminations.
>
> -Rong

Thanks for clarification, makes sense.

Sounds like your production usage is going to have one FS-Disc pass before block layout. And if we add more FS-Disc pass, say before RA, or others, it's not worth it?


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

https://reviews.llvm.org/D104579



More information about the llvm-commits mailing list