[llvm-dev] [RFC] Enhance Partial Inliner by using a general outlining scheme for cold blocks

Xinliang David Li via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 16 10:15:52 PDT 2017


The impact of function outlining on debugability should be no different
from other code cloning optimizations (function cloning, inlining,
multi-versioning,  etc).

David

On Wed, Aug 16, 2017 at 10:05 AM, Graham Yiu via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi Adrian,
>
> That's a good question, I haven't looked into the effect on debug
> information, but I imagine it won't be any different from what the partial
> inliner does today (David Li might be able to answer that question better
> than I). There's existing utilities that do the code extraction for
> outlining, so I'll need to look into that code to see if it also modifies
> debug information.
>
> Cheers,
>
> Graham Yiu
> LLVM Compiler Development
> IBM Toronto Software Lab
> Office: (905) 413-4077 C2-707/8200/Markham
> Email: gyiu at ca.ibm.com
>
> [image: Inactive hide details for Adrian Prantl ---08/16/2017 12:34:38
> PM---(How) does your proposal affect the debug info for the tran]Adrian
> Prantl ---08/16/2017 12:34:38 PM---(How) does your proposal affect the
> debug info for the transformed code? -- adrian
>
> From: Adrian Prantl <aprantl at apple.com>
> To: Graham Yiu <gyiu at ca.ibm.com>
> Cc: llvm-dev at lists.llvm.org
> Date: 08/16/2017 12:34 PM
> Subject: Re: [llvm-dev] [RFC] Enhance Partial Inliner by using a general
> outlining scheme for cold blocks
> Sent by: aprantl at apple.com
> ------------------------------
>
>
>
> (How) does your proposal affect the debug info for the transformed code?
>
> -- adrian
>
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170816/f742187b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170816/f742187b/attachment.gif>


More information about the llvm-dev mailing list