diff options
author | Elliot Goodrich <elliotgoodrich@gmail.com> | 2023-05-20 17:49:18 +0100 |
---|---|---|
committer | Elliot Goodrich <elliotgoodrich@gmail.com> | 2023-05-20 17:49:18 +0100 |
commit | ac73c48e091cff69047ed2dfb972f69ef7a0e9a0 (patch) | |
tree | f01fb7746dfb594f984c3837324f599df2f4de9b /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | 46f366494f3ca8cc98daa6fb4f29c7c446c176b6 (diff) | |
download | llvm-ac73c48e091cff69047ed2dfb972f69ef7a0e9a0.zip llvm-ac73c48e091cff69047ed2dfb972f69ef7a0e9a0.tar.gz llvm-ac73c48e091cff69047ed2dfb972f69ef7a0e9a0.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectOptimize.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectOptimize.cpp b/llvm/lib/CodeGen/SelectOptimize.cpp index 7394a01..30d9597 100644 --- a/llvm/lib/CodeGen/SelectOptimize.cpp +++ b/llvm/lib/CodeGen/SelectOptimize.cpp @@ -28,6 +28,7 @@ #include "llvm/IR/Function.h" #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Instruction.h" +#include "llvm/IR/PatternMatch.h" #include "llvm/IR/ProfDataUtils.h" #include "llvm/InitializePasses.h" #include "llvm/Pass.h" |