Allow register classes to match a containing class in InstAliases.
authorJim Grosbach <grosbach@apple.com>
Fri, 28 Oct 2011 16:43:40 +0000 (16:43 +0000)
committerJim Grosbach <grosbach@apple.com>
Fri, 28 Oct 2011 16:43:40 +0000 (16:43 +0000)
commitbe5d6bcfc6ad4d5b771bb491c8ec6c87fcd3c425
tree54a86f4d9fbb5d00b132d9b66def34e7e0ee45b0
parent398daae4cc0182f77ff0e68d7ba4b7614ce8af71
Allow register classes to match a containing class in InstAliases.

If the register class in the source alias is a subclass of the register class
of the actual instruction, the alias can still match OK since the constraints
are strictly a subset of what the instruction can actually handle.

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