[PATCH] D113738: [LTO] Allow passing -Os/-Oz as the optimization level

Peter Collingbourne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 12 10:46:07 PST 2021


pcc added a comment.

Please see D63976 <https://reviews.llvm.org/D63976> where we rejected a similar change in favor of just letting this be controllable at compile time.

To the extent that the pass pipeline is affected by the size optimization level, I think we should change the passes so that they respect the `optsize`/`minsize` attributes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113738



More information about the cfe-commits mailing list