[all-commits] [llvm/llvm-project] c3ddc1: [NFC] Split up PassBuilder.cpp

aeubanks via All-commits all-commits at lists.llvm.org
Wed Sep 15 15:40:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3ddc13d7d631a29b55f82c7cc7a9008bf89b1f4
      https://github.com/llvm/llvm-project/commit/c3ddc13d7d631a29b55f82c7cc7a9008bf89b1f4
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-09-15 (Wed, 15 Sep 2021)

  Changed paths:
    M llvm/lib/Passes/CMakeLists.txt
    A llvm/lib/Passes/OptimizationLevel.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    A llvm/lib/Passes/PassBuilderPipelines.cpp
    M llvm/utils/gn/secondary/llvm/lib/Passes/BUILD.gn

  Log Message:
  -----------
  [NFC] Split up PassBuilder.cpp

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.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D109798




More information about the All-commits mailing list