[llvm-commits] [llvm] r132128 - /llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
Eric Christopher
echristo at apple.com
Thu May 26 11:22:26 PDT 2011
Author: echristo
Date: Thu May 26 13:22:26 2011
New Revision: 132128
URL: http://llvm.org/viewvc/llvm-project?rev=132128&view=rev
Log:
Reorganize these slightly according to operand type.
Modified:
llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp?rev=132128&r1=132127&r2=132128&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmPrinter.cpp Thu May 26 13:22:26 2011
@@ -426,13 +426,12 @@
return true;
O << (MI->getOperand(OpNum).getImm() & 0xffff);
return false;
- case 'M': // A register range suitable for LDM/STM.
case 'p': // The high single-precision register of a VFP double-precision
// register.
case 'e': // The low doubleword register of a NEON quad register.
case 'f': // The high doubleword register of a NEON quad register.
case 'h': // A range of VFP/NEON registers suitable for VLD1/VST1.
- case 'A': // A memory operand for a VLD1/VST1 instruction.
+ case 'M': // A register range suitable for LDM/STM.
case 'Q': // The least significant register of a pair.
case 'R': // The most significant register of a pair.
case 'H': // The highest-numbered register of a pair.
@@ -454,6 +453,7 @@
if (ExtraCode[1] != 0) return true; // Unknown modifier.
switch (ExtraCode[0]) {
+ case 'A': // A memory operand for a VLD1/VST1 instruction.
default: return true; // Unknown modifier.
case 'm': // The base register of a memory operand.
if (!MI->getOperand(OpNum).isReg())
More information about the llvm-commits
mailing list