This is an archive of the discontinued LLVM Phabricator instance.

Use isIgnored instead of checking pass name
ClosedPublic

Authored by aeubanks on Dec 3 2020, 5:44 PM.

Details

Summary

In preparation for https://reviews.llvm.org/D92616 which will remove
angle brackets from pass manager/adaptor names.

Diff Detail

Event Timeline

aeubanks created this revision.Dec 3 2020, 5:44 PM
aeubanks requested review of this revision.Dec 3 2020, 5:44 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 3 2020, 5:44 PM

These are all (very minor) function changes, since AnalysisManagerProxy is in isIgnored()... that seems fine to me, but should it be tested somehow?

thakis accepted this revision.Dec 3 2020, 6:31 PM
thakis added a subscriber: thakis.

This now ignores AnalysisManagerProxy too. lg if that's intentional / fine.

This revision is now accepted and ready to land.Dec 3 2020, 6:31 PM
dexonsmith accepted this revision.Dec 3 2020, 6:33 PM

These are all (very minor) function changes, since AnalysisManagerProxy is in isIgnored()... that seems fine to me, but should it be tested somehow?

(Not sure you need a test, but if it's valuable and easy to test, might as well; either way this LGTM...)

These are all (very minor) function changes, since AnalysisManagerProxy is in isIgnored()... that seems fine to me, but should it be tested somehow?

*AnalysisManagerProxy will never be passed through the interfaces modified in this change since it's an analysis pass, not a normal pass.

This revision was landed with ongoing or failed builds.Dec 3 2020, 6:38 PM
This revision was automatically updated to reflect the committed changes.