[PATCH] D99683: [HIP] Support ThinLTO

Teresa Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 12 08:58:44 PDT 2021


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

To do what I suggested in the prior comment, you'd probably want to add a new index-wide flag (since we don't read IR in the thin link). See for example how EnableSplitLTOUnit is set and used. You could add a flag like ForceImportAll or something like that. Then you don't necessarily even need to bump up the importing threshold or add the new import-noinline flag. Just key off of that in the importer to try to force import everything. If something cannot be imported, fail with a clear error.


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

https://reviews.llvm.org/D99683



More information about the cfe-commits mailing list