[LLVMdev] _Znwm is not a builtin

Chandler Carruth chandlerc at google.com
Wed May 15 20:59:24 PDT 2013


On Wed, May 15, 2013 at 9:46 PM, Chris Lattner <clattner at apple.com> wrote:

> It's not clear to me that "builtin" is the right way to model this, but it
> definitely sounds like this should be an attribute on a call site (as
> opposed to on the function itself).  What specific kinds of optimizations
> are we interested in doing to _Znwm calls?


You can see the paper to the C++ committee, but my primary goals.

1) run SROA over heap memory
2) pool together heap allocations on the same CFG trace
3) promote (sufficiently small and lifetime bounded) heap allocations to
stack allocations
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130515/fde30d99/attachment.html>


More information about the llvm-dev mailing list