diff options
author | Tim Northover <Tim.Northover@arm.com> | 2013-02-05 13:24:47 +0000 |
---|---|---|
committer | Tim Northover <Tim.Northover@arm.com> | 2013-02-05 13:24:47 +0000 |
commit | 19254c49a8752fe8c6fa648a6eb29f20a1f62c8b (patch) | |
tree | a5fc35fcd05b26436ea7bc91fcdcd19d6f638d6e /lib/Target/AArch64/InstPrinter | |
parent | 7304702ef99f98897d15baae0eede55f294bc602 (diff) | |
download | llvm-19254c49a8752fe8c6fa648a6eb29f20a1f62c8b.tar.gz llvm-19254c49a8752fe8c6fa648a6eb29f20a1f62c8b.tar.bz2 llvm-19254c49a8752fe8c6fa648a6eb29f20a1f62c8b.tar.xz |
Remove cyclic dependency in AArch64 libraries
This moves the bit twiddling and string fiddling functions required by other
parts of the backend into a separate library. Previously they resided in
AArch64Desc, which created a circular dependency between various components.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/InstPrinter')
-rw-r--r-- | lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp | 2 | ||||
-rw-r--r-- | lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h | 3 | ||||
-rw-r--r-- | lib/Target/AArch64/InstPrinter/LLVMBuild.txt | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp b/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp index 909810f4d9..82ce80c8b1 100644 --- a/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp +++ b/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp @@ -13,8 +13,8 @@ #define DEBUG_TYPE "asm-printer" #include "AArch64InstPrinter.h" -#include "MCTargetDesc/AArch64BaseInfo.h" #include "MCTargetDesc/AArch64MCTargetDesc.h" +#include "Utils/AArch64BaseInfo.h" #include "llvm/MC/MCInst.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCRegisterInfo.h" diff --git a/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h b/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h index 1890082491..ec14595664 100644 --- a/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h +++ b/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h @@ -14,7 +14,8 @@ #ifndef LLVM_AARCH64INSTPRINTER_H #define LLVM_AARCH64INSTPRINTER_H -#include "MCTargetDesc/AArch64BaseInfo.h" +#include "MCTargetDesc/AArch64MCTargetDesc.h" +#include "Utils/AArch64BaseInfo.h" #include "llvm/MC/MCInstPrinter.h" #include "llvm/MC/MCSubtargetInfo.h" diff --git a/lib/Target/AArch64/InstPrinter/LLVMBuild.txt b/lib/Target/AArch64/InstPrinter/LLVMBuild.txt index 40fdc558b9..4836c7c45d 100644 --- a/lib/Target/AArch64/InstPrinter/LLVMBuild.txt +++ b/lib/Target/AArch64/InstPrinter/LLVMBuild.txt @@ -19,6 +19,6 @@ type = Library name = AArch64AsmPrinter parent = AArch64 -required_libraries = MC Support +required_libraries = AArch64Utils MC Support add_to_library_groups = AArch64 |