[llvm-commits] [llvm] r53211 - in /llvm/trunk: include/llvm/CodeGen/SelectionDAG.h include/llvm/CodeGen/SelectionDAGISel.h include/llvm/CodeGen/SelectionDAGNodes.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Chris Lattner
clattner at apple.com
Wed Jul 9 23:30:29 PDT 2008
On Jul 7, 2008, at 4:02 PM, Dan Gohman wrote:
> Author: djg
> Date: Mon Jul 7 18:02:41 2008
> New Revision: 53211
>
> URL: http://llvm.org/viewvc/llvm-project?rev=53211&view=rev
> Log:
> 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.
Very nice!
-Chris
More information about the llvm-commits
mailing list