[llvm] r195847 - Remove more dead code now that this is only used for inline asm.
Rafael Espindola
rafael.espindola at gmail.com
Wed Nov 27 07:13:06 PST 2013
Author: rafael
Date: Wed Nov 27 09:13:06 2013
New Revision: 195847
URL: http://llvm.org/viewvc/llvm-project?rev=195847&view=rev
Log:
Remove more dead code now that this is only used for inline asm.
MO_ConstantPoolIndex is handled in printLeaMemReference.
MO_JumpTableIndex and MO_ExternalSymbol don't show up in inline asm.
Modified:
llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp?rev=195847&r1=195846&r2=195847&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Wed Nov 27 09:13:06 2013
@@ -257,10 +257,7 @@ static void printOperand(X86AsmPrinter &
O << MO.getImm();
return;
- case MachineOperand::MO_JumpTableIndex:
- case MachineOperand::MO_ConstantPoolIndex:
- case MachineOperand::MO_GlobalAddress:
- case MachineOperand::MO_ExternalSymbol: {
+ case MachineOperand::MO_GlobalAddress: {
if (AsmVariant == 0) O << '$';
printSymbolOperand(P, MO, O);
break;
More information about the llvm-commits
mailing list