forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SYCL] Populate the body of OutlinedFunctionDecl AST nodes inserted f…
…or sycl_kernel_entry_point attributed functions. The function body associated with a OutlinedFunctionDecl AST node is a clone of the original body of the sycl_kernel_entry_point attributed function modified to substitute references to the original function parameters with references to replacement variables that stand in for the parameters of the SYCL kernel caller function that will be emitted during code generation. This change implements the necessary transforms.
- Loading branch information
1 parent
680076d
commit 59c5aa2
Showing
2 changed files
with
123 additions
and
34 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