[PATCH] D148010: [Pipelines] Don't run module optimization in full LTO pre-link

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 19 14:29:54 PDT 2023


mehdi_amini added a comment.

As far as I remember, there were a bunch of passes that are part of the compile-time phase that are not in the FullLTO link-time pipeline: if you just pruning all these from the compile-time phase, aren't we gonna miss on some optimization opportunities?
That is: passes that "shouldn't be run" during the compile-time are actually executed here because we don't have time-budget to run all this during the link-time (which in turns focuses on catching up on cross-module opt + lightweight pipeline).

Is there a thread on Discourse about this? I'm interested to see benchmarks numbers for this!


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

https://reviews.llvm.org/D148010



More information about the llvm-commits mailing list