Silence warning.
authorJim Grosbach <grosbach@apple.com>
Thu, 15 Dec 2011 21:54:55 +0000 (21:54 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 15 Dec 2011 21:54:55 +0000 (21:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146686 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/AsmParser/ARMAsmParser.cpp

index 7251df96f1edb8c8d9ffaca0fca351001ce6fbed..cd86065750e79fc09fefcf0eb20b36f89398a19a 100644 (file)
@@ -2832,7 +2832,7 @@ parseVectorList(SmallVectorImpl<MCParsedAsmOperand*> &Operands) {
     return MatchOperand_ParseFail;
   }
   unsigned Count = 1;
-  unsigned Spacing = 0;
+  int Spacing = 0;
   unsigned FirstReg = Reg;
   // The list is of D registers, but we also allow Q regs and just interpret
   // them as the two D sub-registers.