summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-09-13 20:35:57 +0000
committerJim Grosbach <grosbach@apple.com>2011-09-13 20:35:57 +0000
commite3a6a82f1618dc3cfdd735e3e6fcb7a9e1150249 (patch)
tree95f68b5ac047292a5a08fb5c27537890d1f9cac0
parente7e2aca32291183b5f1a1388a7758c97ce610882 (diff)
downloadbcm5719-llvm-e3a6a82f1618dc3cfdd735e3e6fcb7a9e1150249.tar.gz
bcm5719-llvm-e3a6a82f1618dc3cfdd735e3e6fcb7a9e1150249.zip
There's only 16 regs legal in a register list.
llvm-svn: 139637
-rw-r--r--llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 08a42f12483..8e674e81d2a 100644
--- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud