Fix a tblgen subtargetemitter bug, for future Swift support.
authorAndrew Trick <atrick@apple.com>
Wed, 5 Jun 2013 06:55:20 +0000 (06:55 +0000)
committerAndrew Trick <atrick@apple.com>
Wed, 5 Jun 2013 06:55:20 +0000 (06:55 +0000)
commitd7aad34bcbf90aa389f1cb73ade5a21897a73869
treebfa17139a84854367a16a11f56499ee4e69a478e
parent032d62487c888fe1ce500dfe9e22ae76efbe18e5
Fix a tblgen subtargetemitter bug, for future Swift support.

This fixes some of the ridiculously complex code for optimizing the
machine model tables that are shared among all processors of a given
target. A9 and Swift both use the "special" feature that maps old
itinerary classes to new machine model defs. They map different
overlapping subsets of instructions, which wasn't handled correctly.

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