[PATCH] D72404: [ThinLTO/FullLTO] Support Os and Oz
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 8 09:59:53 PST 2022
mehdi_amini added a comment.
In D72404#3304205 <https://reviews.llvm.org/D72404#3304205>, @aykevl wrote:
> I would be very interested in this patch, because for me to use ThinLTO without size regressions I need to set the optimization size level in the linker (`PassManagerBuilder.SizeLevel` etc).
Why can't you build the object files with `-Os` in the first place instead of changing the optimization level between the compilation and the linking phases?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72404/new/
https://reviews.llvm.org/D72404
More information about the llvm-commits
mailing list