]> granicus.if.org Git - llvm/commit
[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)
commit8d0e28ce957aa2040a7906b4f45f19d134ed52a7
tree1831b8c4d937bff5c10bb0121bc2bafd9b7559b0
parentfc635b1adce94bc0594b07dfc90f5ce423634753
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268365 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGISel.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
utils/TableGen/DAGISelMatcherEmitter.cpp