Page MenuHomePhabricator

[ThinLTO] Fix dead stripping analysis for SamplePGO
ClosedPublic

Authored by tejohnson on Sep 20 2017, 9:35 AM.

Details

Summary

The fix for dead stripping analysis in the case of SamplePGO indirect
calls to local functions (r313151) introduced the possibility of an
infinite loop.

Make sure we check for the value being already live after we update it
for SamplePGO indirect call handling.

Diff Detail

Repository
rL LLVM

Event Timeline

tejohnson created this revision.Sep 20 2017, 9:35 AM
danielcdh accepted this revision.Sep 20 2017, 9:38 AM

LGTM, Thanks!

This revision is now accepted and ready to land.Sep 20 2017, 9:38 AM
This revision was automatically updated to reflect the committed changes.