-
Notifications
You must be signed in to change notification settings - Fork 797
[SYCL] Emit llvm.compiler.used for internal device globals #5958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This prevents early optimizations from removing device globals with internal linkage.
|
This doesn't fully fix device globals with internal linkage because early optimizations break address spaces. |
premanandrao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look okay to me.
steffenlarsen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🎉
smanna12
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
e1dd43b
steffenlarsen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
|
The following failures in OCL x64 LLVM Test Suite (pull_request_target) test run look like a common problem and therefore unrelated to this PR: |
|
@intel/llvm-gatekeepers , I believe this one is ready for merge. |
This prevents early optimizations from removing device globals with
internal linkage.