llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[New offload driver][llvm-link][SYCL] Use LTO instead of llvm-link to link device input bitcodes

Open asudarsa opened this issue 1 year ago • 1 comments

When using new offload model for SYCL offload, clang-linker-wrapper gathers all bitcode files and uses llvm-link to link them together. This PR has the following changes:

  1. Add SPIRV target as experimental target to the SYCL compiler build
  2. Use SPIR-V backend LTO to link all device input bitcodes instead of llvm-link. LTO can be hooked up to exit early without calling device backend

Thanks

asudarsa avatar Apr 13 '24 17:04 asudarsa

This pull request is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be automatically closed in 30 days.

github-actions[bot] avatar Oct 15 '24 02:10 github-actions[bot]

This pull request was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Nov 15 '24 02:11 github-actions[bot]