From: Eric Christopher Date: Thu, 26 May 2011 18:22:26 +0000 (+0000) Subject: Reorganize these slightly according to operand type. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=32bfb2c513c4efdc1db9967ddfecce8c922dda4f;p=oota-llvm.git Reorganize these slightly according to operand type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132128 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp index 75b397e4bbe..9b09ed663da 100644 --- a/lib/Target/ARM/ARMAsmPrinter.cpp +++ b/lib/Target/ARM/ARMAsmPrinter.cpp @@ -426,13 +426,12 @@ bool ARMAsmPrinter::PrintAsmOperand(const MachineInstr *MI, unsigned OpNum, 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 @@ bool ARMAsmPrinter::PrintAsmMemoryOperand(const MachineInstr *MI, 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())