Jakob Stoklund Olesen
83c1b42b62
Allow TableGen DAG arguments to be just a name.
...
DAG arguments can optionally be named:
(dag node, node:$name)
With this change, the node is also optional:
(dag node, node:$name, $name)
The missing node is treated as an UnsetInit, so the above is equivalent
to:
(dag node, node:$name, ?:$name)
This syntax is useful in output patterns where we currently require the
types of variables to be repeated:
def : Pat<(subc i32:$b, i32:$c), (SUBCCrr i32:$b, i32:$c)>;
This is preferable:
def : Pat<(subc i32:$b, i32:$c), (SUBCCrr $b, $c)>;
llvm-svn: 177843
2013-03-24 19:36:51 +00:00
..
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2013-03-24 19:36:51 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-12 21:10:56 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2012-02-16 06:28:33 +00:00
2012-12-11 13:14:16 +00:00
2013-01-25 20:29:25 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2013-01-25 22:11:46 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00
2011-10-06 13:39:59 +00:00
2011-10-06 13:39:59 +00:00
2012-12-11 13:14:16 +00:00