llvm
llvm copied to clipboard
[ESIMD][NFC] Extract ESIMD handling from sycl-post-link to library.
This change extracts handleESIMD from sycl-post-link to SYCLPostLink component for reuse in NewOffloading compilation flow in clang and for reuse in sycl-jit.
The body of handleESIMD function is refactored for better readability.
The documentation of lowerESIMDConstructs is fixed and the argument name is changed to more straightforward.