Reduce instruction selection code size and stack frame size by factoring
authorEvan Cheng <evan.cheng@apple.com>
Sat, 15 Jul 2006 08:45:20 +0000 (08:45 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 15 Jul 2006 08:45:20 +0000 (08:45 +0000)
commitfceb57a917bf4037a6653ca00441584f190a14e1
tree7960ee48a3a3c2b855d6a148671aa6c54fe4a005
parent0c4e6789da4dba6c7b0010886776b24dec3f3bb8
Reduce instruction selection code size and stack frame size by factoring
code that emit target specific nodes into emit functions that are uniquified
and shared among selection routines.
e.g. This reduces X86ISelDAGToDAG.o (release) from ~2M to ~1.5M. Stack frame
size of Select_store from ~13k down to ~8k.
This is the first step. Further work to enable more sharing will follow.

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