[PATCH] D85809: [lld] Enable remarks hotness filtering in lld and llvm-lto2

Wei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 19:00:07 PDT 2020


weiwang added a comment.

In D85809#2214246 <https://reviews.llvm.org/D85809#2214246>, @tejohnson wrote:

> The changes to *LTOCodeGenerator and the test using llvm-lto are unrelated to lld (they are the old LTO API used by ld64). So they should be moved to a different patch or the patch name changed. Would be good to add llvm-lto2 tests which exercise the new LTO API changed in LTO.cpp, LTOBackend.cpp etc. Note those changes are broader than just lld (also used by gold-plugin).

I have removed the change to llvm-lto and added support in llvm-lto2. The new option is not exposed to ld.gold, so it is not affected.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85809



More information about the llvm-commits mailing list