diff options
author | Elliot Goodrich <elliotgoodrich@gmail.com> | 2023-05-20 13:36:50 +0100 |
---|---|---|
committer | Elliot Goodrich <elliotgoodrich@gmail.com> | 2023-05-20 13:36:50 +0100 |
commit | 058ca5c07106d38ad66e3ec4972a613a64e88151 (patch) | |
tree | 9479f163c2b5a540464ad905ab932e19cf8f0960 /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | 1b0ba1c12fcc86dcf4097b3b8941260e8c6361fa (diff) | |
download | llvm-058ca5c07106d38ad66e3ec4972a613a64e88151.zip llvm-058ca5c07106d38ad66e3ec4972a613a64e88151.tar.gz llvm-058ca5c07106d38ad66e3ec4972a613a64e88151.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 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
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" |