[PATCH] D67561: [SampleFDO] minimize performance impact when profile-sample-accurate is enabled

Wei Mi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 16:01:25 PDT 2019


wmi updated this revision to Diff 220400.
wmi added a comment.

Create a StringSet for NameTable to avoid linear scanning of the table for each function.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D67561

Files:
  include/llvm/ProfileData/SampleProfReader.h
  lib/Transforms/IPO/SampleProfile.cpp
  test/Transforms/SampleProfile/Inputs/profsampleacc.extbinary.afdo
  test/Transforms/SampleProfile/profile-sample-accurate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67561.220400.patch
Type: text/x-patch
Size: 13966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190916/97f6756e/attachment.bin>


More information about the llvm-commits mailing list