[PATCH] D61138: [PGO] Enable InstrProf lowering for Clang PGO instrumentation in the new pass manager

Rong Xu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 25 10:05:59 PDT 2019


xur created this revision.
xur added reviewers: vsk, davidxl.
Herald added a subscriber: jfb.

Currently InstrProf lowering is not enabled for Clang PGO instrumentation in the new pass manager.
The following command "-fprofile-instr-generate -fexperimental-new-pass-manager ..." is broken.
This CL enables InstrProf lowering pass for Clang PGO instrumentation in the new pass manager.


https://reviews.llvm.org/D61138

Files:
  clang/lib/CodeGen/BackendUtil.cpp
  clang/test/CodeGen/pgo-instrumentation.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61138.196663.patch
Type: text/x-patch
Size: 7211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190425/67eabe9b/attachment-0001.bin>


More information about the cfe-commits mailing list