summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-04-14 18:29:59 +0000
committerReid Kleckner <rnk@google.com>2016-04-14 18:29:59 +0000
commit28865809fe44a471c5418bf0c8fcdb742ea64efa (patch)
treea55c64a24618aa605ca87880a066833891ac5df9 /llvm/lib/CodeGen/MIRParser
parent96d2a1c603a92b9bfdf6d866f078be20487d4229 (diff)
downloadbcm5719-llvm-28865809fe44a471c5418bf0c8fcdb742ea64efa.tar.gz
bcm5719-llvm-28865809fe44a471c5418bf0c8fcdb742ea64efa.zip
Sink DI metadata usage out of MachineInstr.h and MachineInstrBuilder.h
MachineInstr.h and MachineInstrBuilder.h are very popular headers, widely included across all LLVM backends. It turns out that there only a handful of TUs that actually care about DI operands on MachineInstrs. After this change, touching DebugInfoMetadata.h and rebuilding llc only needs 112 actions instead of 542. llvm-svn: 266351
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MIRParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
index 99fcf912129..69aae373f2e 100644
--- a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
@@ -29,6 +29,7 @@
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/IR/BasicBlock.h"
+#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
OpenPOWER on IntegriCloud