This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Clean up PassBuilder
ClosedPublic

Authored by aeubanks on Oct 29 2020, 3:58 PM.

Details

Summary

Make DebugLogging a member variable so that users of PassBuilder don't
need to pass it around so much.

Move call to TargetMachine::registerPassBuilderCallbacks() within
PassBuilder so users don't need to remember to call it.

Diff Detail

Event Timeline

aeubanks created this revision.Oct 29 2020, 3:58 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 29 2020, 3:58 PM
aeubanks requested review of this revision.Oct 29 2020, 3:58 PM
asbirlea accepted this revision.Oct 29 2020, 6:00 PM

Neat!

This revision is now accepted and ready to land.Oct 29 2020, 6:00 PM
This revision was landed with ongoing or failed builds.Oct 30 2020, 10:04 AM
This revision was automatically updated to reflect the committed changes.