OSDN Git Service

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)
committerStephen Hines <srhines@google.com>
Mon, 14 Nov 2011 17:11:26 +0000 (09:11 -0800)
commit2e2f434cff523193ffbd4eb8aff80e24bb8dd325
tree6ff1683c2e544bea0f8726512c918c8d95acd237
parente2deaf74dfcc3c50056cb9000b1aa3af06665b7a
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