From e3a6a82f1618dc3cfdd735e3e6fcb7a9e1150249 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 13 Sep 2011 20:35:57 +0000 Subject: [PATCH] There's only 16 regs legal in a register list. llvm-svn: 139637 --- llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 08a42f12483b..8e674e81d2ab 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -1885,7 +1885,7 @@ parseRegisterList(SmallVectorImpl &Operands) { // Read the rest of the registers in the list. unsigned PrevRegNum = 0; - SmallVector, 32> Registers; + SmallVector, 16> Registers; do { bool IsRange = Parser.getTok().is(AsmToken::Minus);