diff options
author | Dan Gohman <gohman@apple.com> | 2008-07-07 23:02:41 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-07-07 23:02:41 +0000 |
commit | 0e5f1306b059b62d7725f324e087efbc8e7a782d (patch) | |
tree | 9c2fec0441e942eb2e458c3306fd72704404bfaf /lib/CodeGen/IfConversion.cpp | |
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
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
0 files changed, 0 insertions, 0 deletions