[llvm-commits] [llvm] r144383 - in /llvm/trunk/lib/Target/MBlaze/Disassembler: LLVMBuild.txt MBlazeDisassembler.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Nov 11 04:39:35 PST 2011


Author: d0k
Date: Fri Nov 11 06:39:35 2011
New Revision: 144383

URL: http://llvm.org/viewvc/llvm-project?rev=144383&view=rev
Log:
Remove the unnecessary dependency on libMBlazeCodeGen from libMBlazeDisassembler.

Modified:
    llvm/trunk/lib/Target/MBlaze/Disassembler/LLVMBuild.txt
    llvm/trunk/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp

Modified: llvm/trunk/lib/Target/MBlaze/Disassembler/LLVMBuild.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MBlaze/Disassembler/LLVMBuild.txt?rev=144383&r1=144382&r2=144383&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MBlaze/Disassembler/LLVMBuild.txt (original)
+++ llvm/trunk/lib/Target/MBlaze/Disassembler/LLVMBuild.txt Fri Nov 11 06:39:35 2011
@@ -19,12 +19,6 @@
 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
 

Modified: llvm/trunk/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp?rev=144383&r1=144382&r2=144383&view=diff
==============================================================================
--- llvm/trunk/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp (original)
+++ llvm/trunk/lib/Target/MBlaze/Disassembler/MBlazeDisassembler.cpp Fri Nov 11 06:39:35 2011
@@ -13,13 +13,12 @@
 //===----------------------------------------------------------------------===//
 
 #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"





More information about the llvm-commits mailing list