This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Split up PassBuilder.cpp
ClosedPublic

Authored by aeubanks on Sep 14 2021, 5:47 PM.

Details

Summary

PassBuilder.cpp is the slowest file to compile in LLVM.
When trying to test changes to pipelines, it takes a long time to recompile.

This doesn't actually speedup building PassBuilder.cpp itself since most
of the time is spent in other large/duplicated functions caused by
PassRegistry.def.

Diff Detail

Event Timeline

aeubanks created this revision.Sep 14 2021, 5:47 PM
aeubanks requested review of this revision.Sep 14 2021, 5:47 PM
Herald added a reviewer: sstefan1. · View Herald Transcript
Herald added a reviewer: baziotis. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
asbirlea accepted this revision.Sep 15 2021, 11:44 AM
This revision is now accepted and ready to land.Sep 15 2021, 11:44 AM
This revision was landed with ongoing or failed builds.Sep 15 2021, 3:40 PM
This revision was automatically updated to reflect the committed changes.