implement more checking to reject things like:
authorChris Lattner <sabre@nondot.org>
Sat, 6 Nov 2010 07:06:09 +0000 (07:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 6 Nov 2010 07:06:09 +0000 (07:06 +0000)
commit3f2c8e474b8775aa1f3c2c0cb817b7f9f564e068
tree3f81fbbd09cc1993058fc7f5abb68b1c9a66ed16
parentd0f225cafc76ee2d4982c207c6afb25aaf176d12
implement more checking to reject things like:
  (someinst GR16:$foo, GR32:$foo)

Reimplement BuildAliasOperandReference to be correctly
based on the names of operands in the result pattern,
instead of on the instruction operand definitions.

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