Skip to content
Commit 7f8b6d5f authored by Dan Gohman's avatar Dan Gohman
Browse files

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.

llvm-svn: 53211
parent e5932e5a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment