-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL][Driver][thinLTO] Don't pass -emit-only-kernels-as-entry-points…
… to sycl-post-link in early splitting (#14991) In early splitting with thinLTO, we could be generating an `.o` to be linked in with other files later. Right now, passing `-emit-only-kernels-as-entry-points` to `sycl-post-link` can cause functions to get dropped even though they are used by some other `.o`. We will need to prune non-entry points inside the thinLTO processing inside `clang-linker-wrapper`, but that's not implemented yet. --------- Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
- Loading branch information
Showing
2 changed files
with
30 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters