[PATCH] D72404: [ThinLTO/FullLTO] Support Os and Oz

Steven Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 8 09:56:26 PST 2022

steven_wu added a comment.

I just saw this. I know it is a good idea to have choice during link time for the pipeline configuration and from your benchmark it also has size impact on the output. I also feel like this is going in the wrong direction as if I have part of the object files built with -O3 and part built with -Oz, I need to make a choice of unoptimized part of the program.

Before I say yes or no to this patch, have you figured out what are the passes that causes the most size regression? Ideally, with function attributes on the function, it shouldn't be much size impact on the output.

  rG LLVM Github Monorepo



More information about the cfe-commits mailing list