Remove the unnecessary dependency on libMBlazeCodeGen from libMBlazeDisassembler.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 11 Nov 2011 12:39:35 +0000 (12:39 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 11 Nov 2011 12:39:35 +0000 (12:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144383 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/MBlaze/Disassembler/LLVMBuild.txt
lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp

index b2b3a3a5cf645e7cc895987c79a5810bd1ae9867..c5c4f8043bf4b31555f9dd55ef2e311055ec06b0 100644 (file)
 type = Library
 name = MBlazeDisassembler
 parent = MBlaze
-; Strictly speaking, we probably shouldn't have a dependency on
-; MBlazeCodeGen. However, given the current factoring we end up including
-; MBlazeGenRegisterInfo.inc in the disassembler. Those generated headers end up
-; referencing external variables through GPRRegClass, SPRRegClass, and
-; CRCRegClass. These aren't actually used, but some compilers may generate
-; references to them.
-required_libraries = MBlazeCodeGen MBlazeDesc MBlazeInfo MC Support
+required_libraries = MBlazeDesc MBlazeInfo MC Support
 add_to_library_groups = MBlaze
 
index c3a3833cb7f0476851f44dafe8ac0ed3c33cf7f7..30873172921180fd1692f3a40a5d6c2fc83abfb4 100644 (file)
 //===----------------------------------------------------------------------===//
 
 #include "MBlaze.h"
-#include "MBlazeInstrInfo.h"
 #include "MBlazeDisassembler.h"
 
 #include "llvm/MC/EDInstInfo.h"
 #include "llvm/MC/MCDisassembler.h"
-#include "llvm/MC/MCDisassembler.h"
 #include "llvm/MC/MCInst.h"
+#include "llvm/MC/MCInstrDesc.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MemoryObject.h"
 #include "llvm/Support/TargetRegistry.h"