This is an archive of the discontinued LLVM Phabricator instance.

Option 3: Add another virtual function to CallGraphSCCPass
AbandonedPublic

Authored by GorNishanov on Jun 21 2016, 3:16 PM.

Details

Reviewers
None
Summary
/// This methods is invoked by CGManager::RunPassOnSCC after each call
/// to RunOnSCC to query the pass if there were any change made that 
/// require rerunning pipeline again.
virtual bool restartRequested() const { return false; }

Plus: does not break existing code
Minus: requires adding a bool member variable to a pass, to carry information from runOnSCC to restartRequired()

Diff Detail

Event Timeline

GorNishanov retitled this revision from to Option 3: Add another virtual function to CallGraphSCCPass .
GorNishanov updated this object.
GorNishanov updated this object.
GorNishanov abandoned this revision.Sep 30 2016, 2:34 PM