[PATCH] D93838: [SCCP] Add Function Specialization pass

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 21:36:55 PDT 2021


On Wed, May 19, 2021 at 9:30 PM Dávid Bolvanský via Phabricator <
reviews at reviews.llvm.org> wrote:

> xbolva00 added a comment.
>
> What about C-ray? Does function specialization help?
>
> Anyway, it would be good to teach inliner to inline that one important
> function in c-ray benchmark. gcc has some heuristic that it looks “if we
> inline this function into loop, does something becomes loop invariant - if
> yes, inline!”
>
>
LLVM currently does not analyze benefits created by inlining in the caller
context yet (it only looks at savings in the callee with call context
propagated). It is some area to be improved upon.

David



>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D93838/new/
>
> https://reviews.llvm.org/D93838
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210519/b513e74a/attachment.html>


More information about the llvm-commits mailing list