Do AsmMatcher operand classification per-opcode.
authorJim Grosbach <grosbach@apple.com>
Thu, 10 Feb 2011 00:08:28 +0000 (00:08 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 10 Feb 2011 00:08:28 +0000 (00:08 +0000)
commitb9db0c50d84b06b4b567c29375b7db92b5dab077
tree65caf41492bfd45ee7be9875fc8e7181f88315da
parent4f5c9d206139f946ae4bb5ee7e3ddb1714057cdb
Do AsmMatcher operand classification per-opcode.

When matching operands for a candidate opcode match in the auto-generated
AsmMatcher, check each operand against the expected operand match class.
Previously, operands were classified independently of the opcode being
handled, which led to difficulties when operand match classes were
more complicated than simple subclass relationships.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125245 91177308-0d34-0410-b5e6-96231b3b80d8
test/MC/ARM/simple-fp-encoding.s
utils/TableGen/AsmMatcherEmitter.cpp