aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-23 19:49:38 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-23 19:49:38 +0100
commitfe0006c882f1c134b2abe8552d48c876cde9343d (patch)
treeebe480c664ba37566c89574587cca949c84f928e /llvm/lib/CodeGen/LiveDebugValues.cpp
parentcdd006eec9409923f9a56b9026ce2cb72e7b71dc (diff)
downloadllvm-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.cpp1
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>