diff options
| author | Jim Grosbach <grosbach@apple.com> | 2011-10-21 16:59:08 +0000 | 
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2011-10-21 16:59:08 +0000 | 
| commit | e6d88c9a51ee38f5f9cfe56d4947c0ec287df7d7 (patch) | |
| tree | 5f95a13090b101773c471131623bfb393782b34f /llvm/lib | |
| parent | 20cb505e2ffeafe9eafc69dc3959dfe88db95969 (diff) | |
| download | bcm5719-llvm-e6d88c9a51ee38f5f9cfe56d4947c0ec287df7d7.tar.gz bcm5719-llvm-e6d88c9a51ee38f5f9cfe56d4947c0ec287df7d7.zip | |
Nuke an #if0 that got accidentally left in.
llvm-svn: 142658
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp | 31 | 
1 files changed, 0 insertions, 31 deletions
| diff --git a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp index 203a3118917..67a464fa8a9 100644 --- a/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp +++ b/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp @@ -1979,37 +1979,6 @@ int ARMAsmParser::tryParseRegister() {    Parser.Lex(); // Eat identifier token. -#if 0 -  // Also check for an index operand. This is only legal for vector registers, -  // but that'll get caught OK in operand matching, so we don't need to -  // explicitly filter everything else out here. -  if (Parser.getTok().is(AsmToken::LBrac)) { -    SMLoc SIdx = Parser.getTok().getLoc(); -    Parser.Lex(); // Eat left bracket token. - -    const MCExpr *ImmVal; -    if (getParser().ParseExpression(ImmVal)) -      return MatchOperand_ParseFail; -    const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(ImmVal); -    if (!MCE) { -      TokError("immediate value expected for vector index"); -      return MatchOperand_ParseFail; -    } - -    SMLoc E = Parser.getTok().getLoc(); -    if (Parser.getTok().isNot(AsmToken::RBrac)) { -      Error(E, "']' expected"); -      return MatchOperand_ParseFail; -    } - -    Parser.Lex(); // Eat right bracket token. - -    Operands.push_back(ARMOperand::CreateVectorIndex(MCE->getValue(), -                                                     SIdx, E, -                                                     getContext())); -  } -#endif -    return RegNum;  } | 

