[PATCH] D109798: [NFC] Split up PassBuilder.cpp

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 14 17:47:25 PDT 2021


aeubanks created this revision.
aeubanks added reviewers: rnk, asbirlea.
Herald added subscribers: hiraditya, mgorny.
aeubanks requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109798

Files:
  llvm/lib/Passes/CMakeLists.txt
  llvm/lib/Passes/OptimizationLevel.cpp
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassBuilderPipelines.cpp
  llvm/utils/gn/secondary/llvm/lib/Passes/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109798.372600.patch
Type: text/x-patch
Size: 145327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210915/73ef3761/attachment-0001.bin>


More information about the llvm-commits mailing list