summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreTargetMachine.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2019-05-15 01:28:30 +0000
committerRichard Trieu <rtrieu@google.com>2019-05-15 01:28:30 +0000
commit5f7d4ab5f97564afd363aade76134c48cb265d6f (patch)
tree72887ea0383d6897bcc230f9d9aca368e85cb015 /llvm/lib/Target/XCore/XCoreTargetMachine.cpp
parent70b654fa9b8377b8e0bb78ba2e9203d3195351cc (diff)
downloadbcm5719-llvm-5f7d4ab5f97564afd363aade76134c48cb265d6f.tar.gz
bcm5719-llvm-5f7d4ab5f97564afd363aade76134c48cb265d6f.zip
[XCore] Create a TargetInfo header. NFC
Move the declarations of getThe<Name>Target() functions into a new header in TargetInfo and make users of these functions include this new header. This fixes a layering problem. llvm-svn: 360738
Diffstat (limited to 'llvm/lib/Target/XCore/XCoreTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/XCore/XCoreTargetMachine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/XCore/XCoreTargetMachine.cpp b/llvm/lib/Target/XCore/XCoreTargetMachine.cpp
index 2d66a41de28..2a8cd6b657b 100644
--- a/llvm/lib/Target/XCore/XCoreTargetMachine.cpp
+++ b/llvm/lib/Target/XCore/XCoreTargetMachine.cpp
@@ -11,6 +11,7 @@
#include "XCoreTargetMachine.h"
#include "MCTargetDesc/XCoreMCTargetDesc.h"
+#include "TargetInfo/XCoreTargetInfo.h"
#include "XCore.h"
#include "XCoreTargetObjectFile.h"
#include "XCoreTargetTransformInfo.h"
OpenPOWER on IntegriCloud