diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-23 19:49:38 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-05-23 19:49:38 +0100 |
commit | fe0006c882f1c134b2abe8552d48c876cde9343d (patch) | |
tree | ebe480c664ba37566c89574587cca949c84f928e /llvm/lib/CodeGen/LiveDebugValues.cpp | |
parent | cdd006eec9409923f9a56b9026ce2cb72e7b71dc (diff) | |
download | llvm-fe0006c882f1c134b2abe8552d48c876cde9343d.zip llvm-fe0006c882f1c134b2abe8552d48c876cde9343d.tar.gz llvm-fe0006c882f1c134b2abe8552d48c876cde9343d.tar.bz2 |
TargetLowering.h - remove unnecessary TargetMachine.h include. NFC
Replace with forward declaration and move dependency down to source files that actually need it.
Both TargetLowering.h and TargetMachine.h are 2 of the most expensive headers (top 10) in the ClangBuildAnalyzer report when building llc.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugValues.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugValues.cpp b/llvm/lib/CodeGen/LiveDebugValues.cpp index fdea702..470cb22 100644 --- a/llvm/lib/CodeGen/LiveDebugValues.cpp +++ b/llvm/lib/CodeGen/LiveDebugValues.cpp @@ -64,6 +64,7 @@ #include "llvm/Support/Compiler.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/Target/TargetMachine.h" #include <algorithm> #include <cassert> #include <cstdint> |