Allow types to be omitted in output patterns.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 24 Mar 2013 19:37:00 +0000 (19:37 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sun, 24 Mar 2013 19:37:00 +0000 (19:37 +0000)
commit99ffcc83e6872f7535d009d7150df4bd12953bc5
tree652fe2ddd29bfb6c03d163b8760955f5a145e518
parent91a5848cab499b280bbab58b4896af4a20f826fc
Allow types to be omitted in output patterns.

This syntax is now preferred:

  def : Pat<(subc i32:$b, i32:$c), (SUBCCrr $b, $c)>;

There is no reason to repeat the types in the output pattern.

llvm-svn: 177844
llvm/utils/TableGen/CodeGenDAGPatterns.cpp
llvm/utils/TableGen/DAGISelMatcherGen.cpp