[all-commits] [llvm/llvm-project] 058ca5: [llvm] Reduce ComplexDeinterleavingPass.h includes

Elliot Goodrich via All-commits all-commits at lists.llvm.org
Sat May 20 05:38:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 058ca5c07106d38ad66e3ec4972a613a64e88151
      https://github.com/llvm/llvm-project/commit/058ca5c07106d38ad66e3ec4972a613a64e88151
  Author: Elliot Goodrich <elliotgoodrich at gmail.com>
  Date:   2023-05-20 (Sat, 20 May 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/ComplexDeinterleavingPass.h
    M llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp
    M llvm/lib/CodeGen/SelectOptimize.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyDebugValueManager.cpp

  Log Message:
  -----------
  [llvm] Reduce ComplexDeinterleavingPass.h includes

Remove the unnecessary `"llvm/IR/PatternMatch.h"` include directive from
`ComplexDeinterleavingPass.h` and move it to the corresponding source
file.

Add missing includes that were transitively included by this header to 2
other source files.

This reduces the total number of preprocessing tokens across the LLVM
source files in `lib` from (roughly) 1,964,876,961 to 1,935,091,611 - a
reduction of ~1.52%. This should result in a small improvement in
compilation time.

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




More information about the All-commits mailing list