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

Elliot Goodrich via All-commits all-commits at lists.llvm.org
Sat May 20 09:52:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac73c48e091cff69047ed2dfb972f69ef7a0e9a0
      https://github.com/llvm/llvm-project/commit/ac73c48e091cff69047ed2dfb972f69ef7a0e9a0
  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/AMDGPU/AMDGPUISelLowering.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 3
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.




More information about the All-commits mailing list