[PATCH] D59514: [PGO] Profile guided code size optimization.

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 3 16:42:16 PDT 2019


On Wed, Apr 3, 2019 at 11:18 AM Hiroshi Yamauchi via Phabricator <
reviews at reviews.llvm.org> wrote:

> yamauchi added a comment.
>
> > ...it must be somewhere above IR/Analysis/CodeGen yet accessible from
> Transform/CodeGen....
>
> Having scanned the LLVMBuild.txt files for the dependencies, I think one
> workable way would be a split between two parts, something like:
>
> 1 lib/Transforms/Utils/SizeOpts - the flag and the 'shouldOptimizeFor' for
> the IR passes.
> 2 lib/CodeGen/MachineSizeOpts - the 'shouldOptimizeFor' for the
> CodeGen/Machine IR passes.
>
> Note 2 depends on 1. 1 is sufficient for this patch.
>
> Thoughts?
>
Sounds reasonable to me.

>
>
> Repository:
>   rL LLVM
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D59514/new/
>
> https://reviews.llvm.org/D59514
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190403/841998e4/attachment.html>


More information about the llvm-commits mailing list