[PATCH] D103041: [SampleFDO] New hierarchical discriminator for FS SampleFDO (ProfileData part)

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 27 22:00:45 PDT 2021


xur updated this revision to Diff 348444.
xur added a comment.

Take Wenlei's suggestion to use enum (instead of using integer literal). 
The change is bigger than I initially thought. So probably needs another look from the reviewers.


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

https://reviews.llvm.org/D103041

Files:
  llvm/include/llvm/CodeGen/MIRFSDiscriminator.h
  llvm/include/llvm/CodeGen/Passes.h
  llvm/include/llvm/IR/DebugInfoMetadata.h
  llvm/include/llvm/ProfileData/SampleProf.h
  llvm/include/llvm/ProfileData/SampleProfReader.h
  llvm/include/llvm/Support/Discriminator.h
  llvm/lib/CodeGen/MIRFSDiscriminator.cpp
  llvm/lib/CodeGen/TargetPassConfig.cpp
  llvm/lib/ProfileData/SampleProf.cpp
  llvm/lib/ProfileData/SampleProfReader.cpp
  llvm/lib/ProfileData/SampleProfWriter.cpp
  llvm/lib/Target/X86/X86InsertPrefetch.cpp
  llvm/lib/Transforms/IPO/SampleProfile.cpp
  llvm/test/Transforms/SampleProfile/Inputs/fsafdo.extbinary.afdo
  llvm/test/Transforms/SampleProfile/Inputs/fsafdo.prof
  llvm/test/Transforms/SampleProfile/fsafdo_test.ll
  llvm/unittests/ProfileData/SampleProfTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103041.348444.patch
Type: text/x-patch
Size: 32663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210528/8ef55844/attachment.bin>


More information about the llvm-commits mailing list