[PATCH] D17532: Add prefix based function layout when profile is available.

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 19:28:33 PST 2016


danielcdh created this revision.
danielcdh added a reviewer: davidxl.
danielcdh added a subscriber: llvm-commits.

If a function is hot, put it in text.hot section.

http://reviews.llvm.org/D17532

Files:
  include/llvm/ProfileData/ProfileCommon.h
  lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  lib/ProfileData/ProfileSummary.cpp
  test/CodeGen/X86/partition-sections.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17532.48770.patch
Type: text/x-patch
Size: 5230 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160223/47e6928c/attachment.bin>


More information about the llvm-commits mailing list