Change ComplexPattern handling to push the node being matched as
authorChris Lattner <sabre@nondot.org>
Mon, 22 Feb 2010 23:33:44 +0000 (23:33 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 22 Feb 2010 23:33:44 +0000 (23:33 +0000)
commit20df2420f7997cdb69c21f6bff27559cb09f7be2
treed2d6996b2d7189e53a37043bdc75aef047006095
parent4642ad3af1cf508ac320b9afd25b065f08b36574
Change ComplexPattern handling to push the node being matched as
well as the operands produced when the pattern is matched.  This
allows CheckSame to work correctly when matching replicated
names involving ComplexPatterns.  This fixes a bunch of MSP430
failures, we're down to 13 failures, two of which are
due to a sched bug.

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