This is an archive of the discontinued LLVM Phabricator instance.

[PGO] Make needsComdatForCounter() available (NFC)
ClosedPublic

Authored by xur on Jul 21 2016, 1:10 PM.

Details

Summary

Move needsComdatForCounter() to lib/ProfileData/InstrProf.cpp from lib/Transforms/Instrumentation/InstrProfiling.cpp to make is available for other files.

Diff Detail

Event Timeline

xur updated this revision to Diff 64945.Jul 21 2016, 1:10 PM
xur retitled this revision from to [PGO] Make needsComdatForCounter() available (NFC).
xur updated this object.
xur added a reviewer: davidxl.
xur added a subscriber: llvm-commits.
davidxl accepted this revision.Jul 21 2016, 1:21 PM
davidxl edited edge metadata.

lgtm

This revision is now accepted and ready to land.Jul 21 2016, 1:21 PM
This revision was automatically updated to reflect the committed changes.