This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Make AMDGPUPerfHintAnalysis an SCC pass
ClosedPublic

Authored by arsenm on Jul 5 2019, 11:25 AM.

Details

Reviewers
rampitec
Summary

Add a string attribute instead of directly setting
MachineFunctionInfo. This avoids trying to get the analysis in the
MachineFunctionInfo in a way that doesn't work with the new pass
manager.

This will also avoid re-visiting the call graph for every single
function.

Diff Detail

Event Timeline

arsenm created this revision.Jul 5 2019, 11:25 AM
This revision is now accepted and ready to land.Jul 5 2019, 12:26 PM
arsenm closed this revision.Jul 5 2019, 1:26 PM

r365241