[all-commits] [llvm/llvm-project] 8d5818: [SampleFDO] New hierarchical discriminator for FS ...
xur-llvm via All-commits
all-commits at lists.llvm.org
Fri Jun 4 11:22:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d581857d77129b5a63515ca6794bba88418e0fd
https://github.com/llvm/llvm-project/commit/8d581857d77129b5a63515ca6794bba88418e0fd
Author: Rong Xu <xur at google.com>
Date: 2021-06-04 (Fri, 04 Jun 2021)
Changed paths:
M llvm/include/llvm/ProfileData/SampleProfReader.h
M llvm/include/llvm/Support/Discriminator.h
M llvm/lib/ProfileData/SampleProfReader.cpp
M llvm/lib/Target/X86/X86InsertPrefetch.cpp
M llvm/lib/Transforms/IPO/SampleProfile.cpp
A llvm/test/tools/llvm-profdata/Inputs/sample-fs.proftext
A llvm/test/tools/llvm-profdata/sample-fs.test
M llvm/tools/llvm-profdata/llvm-profdata.cpp
M llvm/unittests/ProfileData/SampleProfTest.cpp
Log Message:
-----------
[SampleFDO] New hierarchical discriminator for FS SampleFDO (llvm-profdata part)
This patch was split from https://reviews.llvm.org/D102246
[SampleFDO] New hierarchical discriminator for Flow Sensitive SampleFDO
This is for llvm-profdata part of change. It sets the bit masks for the
profile reader in llvm-profdata. Also add an internal option
"-fs-discriminator-pass" for show and merge command to process the profile
offline.
This patch also moved setDiscriminatorMaskedBitFrom() to
SampleProfileReader::create() to simplify the interface.
Differential Revision: https://reviews.llvm.org/D103550
More information about the All-commits
mailing list