From d7a2b3bea8e8e4965cd7654f3a7537aba6ad7870 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Tue, 13 Sep 2011 20:35:57 +0000 Subject: There's only 16 regs legal in a register list. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139637 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Target') diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 08a42f1248..8e674e81d2 100644 --- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/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); -- cgit v1.2.3