This is an archive of the discontinued LLVM Phabricator instance.

[PruneEH][NFC] Use CallGraphUpdater in PruneEH
ClosedPublic

Authored by aeubanks on Sep 14 2020, 1:46 PM.

Details

Summary

In preparation for porting the pass to NPM.

Diff Detail

Event Timeline

aeubanks created this revision.Sep 14 2020, 1:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 14 2020, 1:46 PM
aeubanks requested review of this revision.Sep 14 2020, 1:46 PM
asbirlea accepted this revision.Sep 14 2020, 2:14 PM

lg

llvm/lib/Transforms/IPO/PruneEH.cpp
139

Add inside for, outside if/else:

if (SCCMightUnwind && SCCMightReturn)
          break;
This revision is now accepted and ready to land.Sep 14 2020, 2:14 PM
aeubanks updated this revision to Diff 291691.Sep 14 2020, 2:42 PM

Move break outside if/else

This revision was landed with ongoing or failed builds.Sep 14 2020, 2:44 PM
This revision was automatically updated to reflect the committed changes.