-
Notifications
You must be signed in to change notification settings - Fork 787
[DeviceSanitizer] Change "TargetTriple.isSPIR()" to "TargetTriple.isSPIROrSPIRV()" in AddressSanitizer.cpp #14413
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
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.
TY!
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
It seems like this change might have exposed a latent bug in the SPIR-V backend code. @michalpaszkowski, can you please comment how to address the windows failure reported in the CI? Thanks |
Can you please add a line or two in the PR description about the need for this change? Just for logging purposes. Thanks |
Done. |
Hi @intel/llvm-gatekeepers, the failed test is not related to this test, this patch needs test using"-fsanitize=address" flag. |
I wasn't able to reproduce the failure on a Windows build of SPIR-V backend both from this branch or the llvm-project repository. It might be the case that there is some memory leak/ownership issues inside LLVM (either in SPIR-V backend or otherplace), but this will require a bit more investigation. Unfortunately, rerunning this test many times does not help much. @asudarsa @AllanZyne Would it be possible to rerun the Windows CI run? (I don't have such access in this repository to do this myself) |
Can you try merging the latest changes from the |
Sure |
Hi @intel/llvm-gatekeepers, please merge. |
SYCL is going to switch to SPIR-V backend soon, this PR changed "TargetTriple.isSPIR()" to "TargetTriple.isSPIROrSPIRV()" to improve compatibility