Actually recycle SDNode allocations. SelectionDAG is using
authorDan Gohman <gohman@apple.com>
Tue, 26 Aug 2008 01:44:34 +0000 (01:44 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 26 Aug 2008 01:44:34 +0000 (01:44 +0000)
commit1146728bfaeb471f675b805ceb27a08d28bbf468
tree26cfd0e03423d51a9550355813e34877ff3fac2a
parentb6e3d6ce709e9ed57df055b026e55d19e50df772
Actually recycle SDNode allocations. SelectionDAG is using
RecyclingAllocator, but this change is needed for the nodes
to actually be recycled. This cuts SelectionDAG's memory
usage high-water-mark in half in some cases.

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