Split each select function for a particular opcode into multiple ones. One
authorEvan Cheng <evan.cheng@apple.com>
Fri, 28 Jul 2006 22:51:01 +0000 (22:51 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 28 Jul 2006 22:51:01 +0000 (22:51 +0000)
commitb6ee7f73e58adbd5c5c8b923cce818b69d059a42
tree2a8d52c14ea4f27e926d73967714f97848aa0be7
parentceaf1c33c036ac33e3bc5aa97c57547e30627742
Split each select function for a particular opcode into multiple ones. One
per possible ValueType of the node. e.g. Select_add is split into Select_add_i8,
Select_add_i16, etc.

For opcodes which do not produce a non-chain result, it is split on the
ValueType of its first non-chain operand. e.g. Select_store.

On X86 / Mac OS X, Select_store used to be the largest function. It had a stack
frame size of 8.5k. Now the largest one is Store_i32 with a frame size of 3.1k.

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