summaryrefslogtreecommitdiff
path: root/tools/lto
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-08-24 18:08:43 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-08-24 18:08:43 +0000
commit3e74d6fdd248e20a280f1dff3da9a6c689c2c4c3 (patch)
tree8f6655e857e1b7e7371366070e960d925ddff8d1 /tools/lto
parent605e2b518445d86491e1a0c812f7c85193d3517a (diff)
downloadllvm-3e74d6fdd248e20a280f1dff3da9a6c689c2c4c3.tar.gz
llvm-3e74d6fdd248e20a280f1dff3da9a6c689c2c4c3.tar.bz2
llvm-3e74d6fdd248e20a280f1dff3da9a6c689c2c4c3.tar.xz
Move TargetRegistry and TargetSelect from Target to Support where they belong.
These are strictly utilities for registering targets and components. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto')
-rw-r--r--tools/lto/LTOCodeGenerator.cpp4
-rw-r--r--tools/lto/LTOModule.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp
index cff6cb15a8..6c8dbad460 100644
--- a/tools/lto/LTOCodeGenerator.cpp
+++ b/tools/lto/LTOCodeGenerator.cpp
@@ -33,8 +33,6 @@
#include "llvm/Target/TargetData.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
-#include "llvm/Target/TargetRegistry.h"
-#include "llvm/Target/TargetSelect.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/MemoryBuffer.h"
@@ -43,6 +41,8 @@
#include "llvm/Support/Host.h"
#include "llvm/Support/Program.h"
#include "llvm/Support/Signals.h"
+#include "llvm/Support/TargetRegistry.h"
+#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/system_error.h"
#include "llvm/Config/config.h"
#include "llvm/Transforms/IPO.h"
diff --git a/tools/lto/LTOModule.cpp b/tools/lto/LTOModule.cpp
index 6af6ddcaf5..7c9489179a 100644
--- a/tools/lto/LTOModule.cpp
+++ b/tools/lto/LTOModule.cpp
@@ -27,6 +27,8 @@
#include "llvm/Support/Path.h"
#include "llvm/Support/Process.h"
#include "llvm/Support/SourceMgr.h"
+#include "llvm/Support/TargetRegistry.h"
+#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/system_error.h"
#include "llvm/Target/Mangler.h"
#include "llvm/MC/MCAsmInfo.h"
@@ -41,8 +43,6 @@
#include "llvm/MC/MCTargetAsmParser.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
-#include "llvm/Target/TargetRegistry.h"
-#include "llvm/Target/TargetSelect.h"
using namespace llvm;