diff options
author | Owen Anderson <resistor@mac.com> | 2006-05-12 06:33:49 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2006-05-12 06:33:49 +0000 |
commit | 07000c6f01d8f57170f2d4c77a86d934bdc5c696 (patch) | |
tree | 9a8a6663cb936eefd77feb7e4f6676faaf6bfa36 /tools | |
parent | 571a13f3e70e4ca16515cfb2f3878260e5e9e2e7 (diff) | |
download | external_llvm-07000c6f01d8f57170f2d4c77a86d934bdc5c696.zip external_llvm-07000c6f01d8f57170f2d4c77a86d934bdc5c696.tar.gz external_llvm-07000c6f01d8f57170f2d4c77a86d934bdc5c696.tar.bz2 |
Refactor a bunch of includes so that TargetMachine.h doesn't have to include
TargetData.h. This should make recompiles a bit faster with my current
TargetData tinkering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llc/llc.cpp | 1 | ||||
-rw-r--r-- | tools/opt/opt.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 1df22ac..6a66e52 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -15,6 +15,7 @@ #include "llvm/Bytecode/Reader.h" #include "llvm/Target/SubtargetFeature.h" +#include "llvm/Target/TargetData.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetMachineRegistry.h" #include "llvm/Transforms/Scalar.h" diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 5667488..b6ededd 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -18,6 +18,7 @@ #include "llvm/Bytecode/WriteBytecodePass.h" #include "llvm/Assembly/PrintModulePass.h" #include "llvm/Analysis/Verifier.h" +#include "llvm/Target/TargetData.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Support/PassNameParser.h" #include "llvm/System/Signals.h" |