[PATCH] D145171: [FSAFDO] Improve FS discriminator encoding

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 14:43:46 PST 2023


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

Integrated review comments/suggestions from Wenlei and Hongtao:
(1) remove BBSize from hash
(2) use less expensive hash function
(3) better names for getSubprogramLinkageName()


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

https://reviews.llvm.org/D145171

Files:
  llvm/include/llvm/IR/DebugInfoMetadata.h
  llvm/lib/CodeGen/AsmPrinter/PseudoProbePrinter.cpp
  llvm/lib/CodeGen/MIRFSDiscriminator.cpp
  llvm/lib/CodeGen/MIRSampleProfile.cpp
  llvm/lib/CodeGen/PseudoProbeInserter.cpp
  llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
  llvm/test/CodeGen/X86/Inputs/fsloader_v1.afdo
  llvm/test/CodeGen/X86/fsafdo_test1.ll
  llvm/test/CodeGen/X86/fsafdo_test2.ll
  llvm/test/CodeGen/X86/fsafdo_test3.ll
  llvm/test/CodeGen/X86/fsafdo_test4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145171.503527.patch
Type: text/x-patch
Size: 44457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/33c4cb8a/attachment.bin>


More information about the llvm-commits mailing list