diff options
| author | Richard Trieu <rtrieu@google.com> | 2019-05-15 00:46:18 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2019-05-15 00:46:18 +0000 |
| commit | 1e6f98b89dbec629bbb7e6de7cdec108eb3362d5 (patch) | |
| tree | 1f4e1652948fa81c7013873579db1fff3972c7fb /llvm/lib/Target/SystemZ/MCTargetDesc | |
| parent | cf82d4a483f86012c445d650a1f2e9d7d0d7ef62 (diff) | |
| download | bcm5719-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/MCTargetDesc')
| -rw-r--r-- | llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp index ba5767a8dc4..3c0300cfd8f 100644 --- a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp +++ b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp @@ -9,6 +9,7 @@ #include "SystemZMCTargetDesc.h" #include "SystemZInstPrinter.h" #include "SystemZMCAsmInfo.h" +#include "TargetInfo/SystemZTargetInfo.h" #include "llvm/MC/MCDwarf.h" #include "llvm/MC/MCInstrInfo.h" #include "llvm/MC/MCRegisterInfo.h" diff --git a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h index 53fa3582933..8f720c5abb3 100644 --- a/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h +++ b/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h @@ -29,8 +29,6 @@ class Triple; class raw_pwrite_stream; class raw_ostream; -Target &getTheSystemZTarget(); - namespace SystemZMC { // How many bytes are in the ABI-defined, caller-allocated part of // a stack frame. |

