infer results of a pattern from implicit defs. This allows you to do something
authorChris Lattner <sabre@nondot.org>
Thu, 18 Mar 2010 23:15:10 +0000 (23:15 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 18 Mar 2010 23:15:10 +0000 (23:15 +0000)
commit6c6ba364931acb113973ad3e6d69736969c59299
treee3a109a433374f7de2646d06df965ef31e85bfde
parent1ff781fb501505660f6ccb7558ad9e613db21517
infer results of a pattern from implicit defs.  This allows you to do something
like this:

 def : Pat<(add ...),
           (FOOINST)>;

When fooinst only has a single implicit def (e.g. to R1).  This will be handled
as if written as (set R1, (FOOINST ...))

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