This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Set LoopInfo as preserved by SIAnnotateControlFlow
ClosedPublic

Authored by rampitec on Jul 7 2021, 12:33 PM.

Details

Summary

The pass does not change loops, it just adds calls.

Diff Detail

Event Timeline

rampitec created this revision.Jul 7 2021, 12:33 PM
rampitec requested review of this revision.Jul 7 2021, 12:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2021, 12:33 PM
Herald added a subscriber: wdng. · View Herald Transcript

I have checked with the LoopInfoWrapperPass::verifyAnalysis() after the pass, analysis is still valid.

foad accepted this revision.Jul 8 2021, 1:47 AM

Looks obviously fine to me. I think debug builds automatically verify preserved analyses (at least they did with the old pass manager...).

This revision is now accepted and ready to land.Jul 8 2021, 1:47 AM