diff options
author | Reid Kleckner <rnk@google.com> | 2016-04-14 18:29:59 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-04-14 18:29:59 +0000 |
commit | 28865809fe44a471c5418bf0c8fcdb742ea64efa (patch) | |
tree | a55c64a24618aa605ca87880a066833891ac5df9 /llvm/lib/CodeGen/SelectionDAG | |
parent | 96d2a1c603a92b9bfdf6d866f078be20487d4229 (diff) | |
download | bcm5719-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/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp index a1e2d410ab0..8f0f4bed797 100644 --- a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp @@ -22,6 +22,7 @@ #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/StackMaps.h" #include "llvm/IR/DataLayout.h" +#include "llvm/IR/DebugInfo.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ErrorHandling.h" #include "llvm/Support/MathExtras.h" |