TableGen / AsmMatcher: Tweaks to avoid generating completely bogus match
authorDaniel Dunbar <daniel@zuster.org>
Tue, 4 Aug 2009 20:36:45 +0000 (20:36 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 4 Aug 2009 20:36:45 +0000 (20:36 +0000)
commit53a7f16dcc96de71fa46f641c59470586548081e
tree6e18098b9e38a33511ceff60b8925c54b310b6d4
parent6db0a8b4fde6284b9812d59ad0467241b8301431
TableGen / AsmMatcher: Tweaks to avoid generating completely bogus match
functions.
 - Fix variant flattening when the variant embeds an operand reference.

 - Ignore instructions which reference an operand multiple times (e.g., "xorb
   $dst, $dst"), and operands which have extra flags (e.g., "$dst:subreg32").

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