[CodeGen] Add some space optimized forms of EmitNode and MorphNodeTo that implicitly...
authorCraig Topper <craig.topper@gmail.com>
Tue, 3 May 2016 05:54:13 +0000 (05:54 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 3 May 2016 05:54:13 +0000 (05:54 +0000)
commit3fc0e668ff69bf4dfa8f431b06ba0dd7ef62c751
tree50837ec4e74ac9ec885189514ed17f592fe521fd
parent2d12e65b6b48c03b47c9cace73f5e6b840e84f30
[CodeGen] Add some space optimized forms of EmitNode and MorphNodeTo that implicitly indicate the number of result VTs. This shaves about 16K off the X86 matching table taking it down to about 470K.

Overall this reduces the llc binary size with all in-tree targets by about 40K.

llvm-svn: 268365
llvm/include/llvm/CodeGen/SelectionDAGISel.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
llvm/utils/TableGen/DAGISelMatcherEmitter.cpp