[llvm-commits] [llvm] r115360 - in /llvm/trunk: configure lib/Target/ARM/ARMAsmPrinter.cpp lib/Target/ARM/AsmPrinter/ lib/Target/ARM/InstPrinter/ lib/Target/ARM/Makefile lib/Target/X86/AsmPrinter/ lib/Target/X86/InstPrinter/ lib/Target/X86/Makefile lib/Target/X86/X86AsmPrinter.cpp
Jim Grosbach
grosbach at apple.com
Fri Oct 1 15:39:28 PDT 2010
Author: grosbach
Date: Fri Oct 1 17:39:28 2010
New Revision: 115360
URL: http://llvm.org/viewvc/llvm-project?rev=115360&view=rev
Log:
Rename the AsmPrinter directory to InstPrinter for those targets that have
been MC-ized for assembly printing. MSP430 is mostly so, but still has the
asm printer and lowering code in the printer subdir for the moment.
Added:
llvm/trunk/lib/Target/ARM/InstPrinter/
- copied from r115315, llvm/trunk/lib/Target/ARM/AsmPrinter/
llvm/trunk/lib/Target/X86/InstPrinter/
- copied from r115315, llvm/trunk/lib/Target/X86/AsmPrinter/
Removed:
llvm/trunk/lib/Target/ARM/AsmPrinter/
llvm/trunk/lib/Target/X86/AsmPrinter/
Modified:
llvm/trunk/configure
llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
llvm/trunk/lib/Target/ARM/Makefile
llvm/trunk/lib/Target/X86/Makefile
llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
Modified: llvm/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/configure?rev=115360&r1=115359&r2=115360&view=diff
==============================================================================
--- llvm/trunk/configure (original)
+++ llvm/trunk/configure Fri Oct 1 17:39:28 2010
@@ -5050,6 +5050,11 @@
if test -f ${srcdir}/lib/Target/${target_to_build}/AsmPrinter/Makefile ; then
LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
fi
+ # MC-ized AsmPrinters live in TARGET/InstPrinter, not AsmPrinter
+ if test -f ${srcdir}/lib/Target/${target_to_build}/InstPrinter/Makefile ; then
+ LLVM_ENUM_ASM_PRINTERS="LLVM_ASM_PRINTER($target_to_build) $LLVM_ENUM_ASM_PRINTERS";
+ fi
+
if test -f ${srcdir}/lib/Target/${target_to_build}/AsmParser/Makefile ; then
LLVM_ENUM_ASM_PARSERS="LLVM_ASM_PARSER($target_to_build) $LLVM_ENUM_ASM_PARSERS";
fi
Modified: llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp?rev=115360&r1=115359&r2=115360&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp Fri Oct 1 17:39:28 2010
@@ -17,7 +17,7 @@
#include "ARMBuildAttrs.h"
#include "ARMAddressingModes.h"
#include "ARMConstantPoolValue.h"
-#include "AsmPrinter/ARMInstPrinter.h"
+#include "InstPrinter/ARMInstPrinter.h"
#include "ARMMachineFunctionInfo.h"
#include "ARMMCInstLower.h"
#include "ARMTargetMachine.h"
Modified: llvm/trunk/lib/Target/ARM/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/Makefile?rev=115360&r1=115359&r2=115360&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/Makefile (original)
+++ llvm/trunk/lib/Target/ARM/Makefile Fri Oct 1 17:39:28 2010
@@ -20,6 +20,6 @@
ARMGenDecoderTables.inc ARMGenEDInfo.inc \
ARMGenFastISel.inc
-DIRS = AsmPrinter AsmParser Disassembler TargetInfo
+DIRS = InstPrinter AsmParser Disassembler TargetInfo
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Target/X86/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Makefile?rev=115360&r1=115359&r2=115360&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/Makefile (original)
+++ llvm/trunk/lib/Target/X86/Makefile Fri Oct 1 17:39:28 2010
@@ -20,6 +20,6 @@
X86GenCallingConv.inc X86GenSubtarget.inc \
X86GenEDInfo.inc
-DIRS = AsmPrinter AsmParser Disassembler TargetInfo
+DIRS = InstPrinter AsmParser Disassembler TargetInfo
include $(LEVEL)/Makefile.common
Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp?rev=115360&r1=115359&r2=115360&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Fri Oct 1 17:39:28 2010
@@ -13,8 +13,8 @@
//===----------------------------------------------------------------------===//
#include "X86AsmPrinter.h"
-#include "AsmPrinter/X86ATTInstPrinter.h"
-#include "AsmPrinter/X86IntelInstPrinter.h"
+#include "InstPrinter/X86ATTInstPrinter.h"
+#include "InstPrinter/X86IntelInstPrinter.h"
#include "X86MCInstLower.h"
#include "X86.h"
#include "X86COFFMachineModuleInfo.h"
More information about the llvm-commits
mailing list