Eliminate some malloc traffic by allocating vectors on the stack. Change some
authorChris Lattner <sabre@nondot.org>
Tue, 8 Aug 2006 01:09:31 +0000 (01:09 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 8 Aug 2006 01:09:31 +0000 (01:09 +0000)
commitf06f35e30b4c4d7db304f717a3d4dc6595fbd078
treeb2a4aae9b9f4a46e9c18fd56f665694739baea5b
parent8de353df9da7e5931688075c85d01e3153c73185
Eliminate some malloc traffic by allocating vectors on the stack.  Change some
method that took std::vector<SDOperand> to take a pointer to a first operand
and #operands.

This speeds up isel on kc++ by about 3%.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29561 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAG.h
include/llvm/CodeGen/SelectionDAGNodes.h
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
lib/CodeGen/SelectionDAG/SelectionDAG.cpp