[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...
Size: 7979 bytes
Desc: not available
More information about the llvm-commits