TableGen: AsmMatcher missing-features list minimization.
authorJim Grosbach <grosbach@apple.com>
Mon, 18 Jun 2012 19:45:46 +0000 (19:45 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 18 Jun 2012 19:45:46 +0000 (19:45 +0000)
commit325bd661ff57787efddc6b302230f22e9c187655
treec120223d43009bb6d57caacf6760c3b4fabef6bb
parent0fad48fd868ec093890e75e4d4128ae4d571c7b7
TableGen: AsmMatcher missing-features list minimization.

When returning a 'cannot match due to missing CPU features' error code,
if there are multiple potential matches with different feature sets,
return the smallest set of missing features from the alternatives as
that's most likely to be the one that's desired.

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