summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LexicalScopes.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-10-19 00:22:07 +0000
committerReid Kleckner <rnk@google.com>2019-10-19 00:22:07 +0000
commit1d7b41361ffa208291119cd145a62a366adac569 (patch)
tree1d3c52109942410bd9a44214ce9c86367c838243 /llvm/lib/CodeGen/LexicalScopes.cpp
parentd7a487adfedb36c88f5ca24f5bcb93f140116106 (diff)
downloadbcm5719-llvm-1d7b41361ffa208291119cd145a62a366adac569.tar.gz
bcm5719-llvm-1d7b41361ffa208291119cd145a62a366adac569.zip
Prune two MachineInstr.h includes, fix up deps
MachineInstr.h included AliasAnalysis.h, which includes a world of IR constructs mostly unneeded in CodeGen. Prune it. Same for DebugInfoMetadata.h. Noticed with -ftime-trace. llvm-svn: 375311
Diffstat (limited to 'llvm/lib/CodeGen/LexicalScopes.cpp')
-rw-r--r--llvm/lib/CodeGen/LexicalScopes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LexicalScopes.cpp b/llvm/lib/CodeGen/LexicalScopes.cpp
index 503821537ed..ac3ef0e709f 100644
--- a/llvm/lib/CodeGen/LexicalScopes.cpp
+++ b/llvm/lib/CodeGen/LexicalScopes.cpp
@@ -21,6 +21,7 @@
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/DebugInfoMetadata.h"
+#include "llvm/IR/Function.h"
#include "llvm/IR/Metadata.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
OpenPOWER on IntegriCloud