[PATCH] D142420: [Flang] Add support to use LTO specific pipelines

Usman Nadeem via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 10 09:47:08 PST 2023


mnadeem added a comment.

In D142420#4184825 <https://reviews.llvm.org/D142420#4184825>, @tblah wrote:

> In D142420#4080619 <https://reviews.llvm.org/D142420#4080619>, @mnadeem wrote:
>
>> We have tried full LTO on Aarch64 (without this patch) and have seen a few 3-8% improvements in SPEC and a 100+% improvement in leslie3d.
>> There were a couple of additional failures in SPEC that we have yet to inspect but AFAICT no issue with respect to bitcode/assembly changes.
>
> Hi @mnadeem, thanks for this patch. I'm having some trouble reproducing the improvement on leslie3d. Can you share more information about your configuration? Which flags did you use?

`-O3 -flto -mllvm -fdynamic-heap-array` on an Aarch64 device.
It was tested back in January, so if the improvement is not showing up right now then it may be possible that some other patch/optimization enabled better codegen in non-lto too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142420/new/

https://reviews.llvm.org/D142420



More information about the cfe-commits mailing list