diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-09-13 20:35:57 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-09-13 20:35:57 +0000 |
commit | d7a2b3bea8e8e4965cd7654f3a7537aba6ad7870 (patch) | |
tree | 8690f037a0e8c4ec1b0f8dad7efe29862555c395 /lib/Target | |
parent | b04546ff5b1a7a03eec1076900c945223bf494cc (diff) | |
download | llvm-d7a2b3bea8e8e4965cd7654f3a7537aba6ad7870.tar.gz llvm-d7a2b3bea8e8e4965cd7654f3a7537aba6ad7870.tar.bz2 llvm-d7a2b3bea8e8e4965cd7654f3a7537aba6ad7870.tar.xz |
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
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<MCParsedAsmOperand*> &Operands) { // Read the rest of the registers in the list. unsigned PrevRegNum = 0; - SmallVector<std::pair<unsigned, SMLoc>, 32> Registers; + SmallVector<std::pair<unsigned, SMLoc>, 16> Registers; do { bool IsRange = Parser.getTok().is(AsmToken::Minus); |