Skip to content

Conversation

@jchlanda
Copy link
Contributor

It's possible that clang would store multiple pointers to the same MDNode in the annotations metadata, keep track of visited ones while populating the kernels.

Fixes #5600

@jchlanda jchlanda requested a review from bader March 22, 2022 14:48
bader
bader previously approved these changes Mar 22, 2022
Copy link
Contributor

@bader bader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I think we should add a regression test for the case from #5600.

@jchlanda
Copy link
Contributor Author

LGTM. I think we should add a regression test for the case from #5600.

kk, will do it now.

@jchlanda jchlanda force-pushed the jakub/local_acc_mdnode_fix branch from eb9b447 to d9cbbb1 Compare March 22, 2022 15:11
@jchlanda
Copy link
Contributor Author

LGTM. I think we should add a regression test for the case from #5600.

kk, will do it now.

Done in eb9b44799cba2f136c4c5dc54f32d5799632936b

@bader bader merged commit 57e935a into intel:sycl Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compiler crash at pass 'SYCL Local Accessor to Shared Memory' on CUDA backend caused by https://github.com/intel/llvm/pull/5149

3 participants