aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/RegAllocBase.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-07-24 12:40:34 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-07-24 12:40:50 +0100
commit5dd566b7c7b78bd385418c72d63c79895be9ae97 (patch)
tree18e1c8222c5427d1514a17e7e50b109778deaed5 /llvm/lib/CodeGen/RegAllocBase.cpp
parentcbb3571b0df5a0948602aa4d2b913b64270143ff (diff)
downloadllvm-5dd566b7c7b78bd385418c72d63c79895be9ae97.zip
llvm-5dd566b7c7b78bd385418c72d63c79895be9ae97.tar.gz
llvm-5dd566b7c7b78bd385418c72d63c79895be9ae97.tar.bz2
PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI.
PassManager.h is one of the top headers in the ClangBuildAnalyzer frontend worst offenders list. This exposes a large number of implicit dependencies on various forward declarations/includes in other headers that need addressing.
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAllocBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.cpp b/llvm/lib/CodeGen/RegAllocBase.cpp
index d228268..71647f0 100644
--- a/llvm/lib/CodeGen/RegAllocBase.cpp
+++ b/llvm/lib/CodeGen/RegAllocBase.cpp
@@ -23,6 +23,7 @@
#include "llvm/CodeGen/Spiller.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/VirtRegMap.h"
+#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"