[PATCH] D53446: Set CGOptLevel and MAttrs in LTO mode

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 19 12:09:30 PDT 2018


pcc requested changes to this revision.
pcc added a comment.
This revision now requires changes to proceed.

The MAttrs part is fine but we don't want CGOptLevel to be set based on the LTO opt level but rather on the opt level passed at compile time. See mailing list thread "[RFC] Adding function attributes to represent codegen optimization level" for more information.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D53446





More information about the llvm-commits mailing list