mehdi_amini added a comment.

In D81223#2076420 <https://reviews.llvm.org/D81223#2076420>, @rcorcs wrote:

> This patch standardizes the use of OptimizationLevel across PassBuilder, 
> PassManagerBuilder, LTO configuration, and LTO code generators. Even with 
> this patch, further work is still needed to standardize the use of 
> OptimizationLevel across LLVM.


The distinction of size level for LTO isn't obvious to me, this is why I'm 
asking some clarification here.
In general with LTO the Os/Oz frontend flags will trigger the addition of 
function attributes, however the Os/Oz flags aren't impacting the optimizer 
pipeline during LTO (so they basically have no effect during LTO and get mapped 
to O2 <https://reviews.llvm.org/owners/package/2/> directly).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81223



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to