summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2019-05-15 00:46:18 +0000
committerRichard Trieu <rtrieu@google.com>2019-05-15 00:46:18 +0000
commit1e6f98b89dbec629bbb7e6de7cdec108eb3362d5 (patch)
tree1f4e1652948fa81c7013873579db1fff3972c7fb /llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
parentcf82d4a483f86012c445d650a1f2e9d7d0d7ef62 (diff)
downloadbcm5719-llvm-1e6f98b89dbec629bbb7e6de7cdec108eb3362d5.tar.gz
bcm5719-llvm-1e6f98b89dbec629bbb7e6de7cdec108eb3362d5.zip
[SystemZ] 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: 360734
Diffstat (limited to 'llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp b/llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
index 07093dcf9f3..713a55ee840 100644
--- a/llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
+++ b/llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "SystemZ.h"
+#include "TargetInfo/SystemZTargetInfo.h"
#include "llvm/Support/TargetRegistry.h"
using namespace llvm;
OpenPOWER on IntegriCloud