AsmMatcher custom operand parser failure enhancements.
authorJim Grosbach <grosbach@apple.com>
Sat, 12 Feb 2011 01:34:40 +0000 (01:34 +0000)
committerJim Grosbach <grosbach@apple.com>
Sat, 12 Feb 2011 01:34:40 +0000 (01:34 +0000)
commitf922c47143d247cbae14b294a0bada139bcd35f6
treee6d368b6102e76c60523202176025779c306887b
parentd7401b35e3a4d08e43b4ab81dffd58099a37c90d
AsmMatcher custom operand parser failure enhancements.

Teach the AsmMatcher handling to distinguish between an error custom-parsing
an operand and a failure to match. The former should propogate the error
upwards, while the latter should continue attempting to parse with
alternative matchers.

Update the ARM asm parser accordingly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125426 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrFormats.td
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
utils/TableGen/AsmMatcherEmitter.cpp