commit | 0e5f1306b059b62d7725f324e087efbc8e7a782d | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Mon Jul 07 23:02:41 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Mon Jul 07 23:02:41 2008 +0000 |
tree | 9c2fec0441e942eb2e458c3306fd72704404bfaf | |
parent | e14d81deeb6bb3404ffee5e59ecb88304f112f4a [diff] |
Pool-allocation for SDNodes. The pool is allocated once for each function, and reused across SelectionDAGs. This drastically reduces the number of calls to malloc/free made during instruction selection, and improves memory locality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53211 91177308-0d34-0410-b5e6-96231b3b80d8