Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL][Fusion] Test non-internalization if the pointer is stored #1600

Merged
merged 3 commits into from
Mar 17, 2023

Conversation

victor-eds
Copy link

@victor-eds victor-eds commented Feb 16, 2023

Test internalization is not performed when the argument to be internalized is stored.

The new abort_internalization_stored_ptr.cpp passes an accessor holding the input pointer to a noinline function, thus forcing the input pointer argument to be stored in an accessor struct being passed to such function.

@victor-eds victor-eds marked this pull request as draft February 23, 2023 11:55
@victor-eds victor-eds force-pushed the abort-intern-if-stored-ptr branch from 504543e to 29f5289 Compare March 9, 2023 13:41
@victor-eds victor-eds marked this pull request as ready for review March 9, 2023 13:42
@victor-eds victor-eds requested a review from sommerlukas March 9, 2023 13:42
@victor-eds
Copy link
Author

@intel/llvm-gatekeepers can I get this one merged?

@steffenlarsen steffenlarsen merged commit 4dd294a into intel:intel Mar 17, 2023
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…el/llvm-test-suite#1600)

Test internalization is not performed when the argument to be internalized is stored.

The new `abort_internalization_stored_ptr.cpp` passes an `accessor` holding the input pointer to a `noinline` function, thus forcing the input pointer argument to be stored in an `accessor` struct being passed to such function.

---------

Signed-off-by: Victor Perez <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants