[PATCH] D36333: Move the SampleProfileLoader right after EarlyFPM.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 11:35:06 PDT 2017


danielcdh created this revision.
Herald added subscribers: eraman, mehdi_amini, sanjoy.

SampleProfileLoader pass do need to happen after some early cleanup passes so that inlining can happen correctly inside the SampleProfileLoader pass.


https://reviews.llvm.org/D36333

Files:
  lib/Passes/PassBuilder.cpp
  test/Other/new-pm-pgo.ll
  test/Other/new-pm-thinlto-defaults.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36333.109786.patch
Type: text/x-patch
Size: 8055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170804/20957f38/attachment.bin>


More information about the llvm-commits mailing list