[PATCH] D36052: Update the new PM pipeline to make ICP aware if it is SamplePGO build.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 29 15:03:34 PDT 2017

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

In ThinLTO backend compile, OPTOptions are not set so that the ICP in ThinLTO backend does not know if it is a SamplePGO build, in which profile count needs to be annotated directly on call instructions. This patch cleaned up the PGOOptions handling logic and passes down PGOOptions to ThinLTO backend.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36052.108808.patch
Type: text/x-patch
Size: 7979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170729/1b1bc79c/attachment.bin>

More information about the llvm-commits mailing list