Changed the TableGen created MatchInstructionImpl() setting of ErrorInfo.
authorKevin Enderby <enderby@apple.com>
Wed, 2 Feb 2011 18:20:55 +0000 (18:20 +0000)
committerKevin Enderby <enderby@apple.com>
Wed, 2 Feb 2011 18:20:55 +0000 (18:20 +0000)
commit79fcb6dec3e6e30a30835ebc781e5abc275e12e9
treeb1a90716c760ef80bbc986ead5bd9869fcbac35a
parent92e7195e433435eeb93d5f88de146878b76abb21
Changed the TableGen created MatchInstructionImpl() setting of ErrorInfo.

The algorithm for identifying which operand is invalid will now always point to
some operand and not the mnemonic sometimes.  The change is now that ErrorInfo
is the index of the highest operand that does not match for any of the matching
mnemonics records.  And no longer the ~0U value when the mnemonic matches and
not every record with a matching mnemonic has the same mismatching operand
index.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124734 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp