-
Notifications
You must be signed in to change notification settings - Fork 12.1k
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
OpenMP offloading crashes when using AMDGPU #53559
Comments
@llvm/issue-subscribers-openmp |
@jhuber6 This is still a problem in 14, right? We never merged the fix. |
Yes, it was fixed by 29c8eba so we should be able to cherry pick that right. |
/cherry-pick 29c8eba |
/branch llvmbot/llvm-project/issue53559 |
llvmbot
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Feb 15, 2022
Use existing functionality to strip constant offsets that works well with AS casts and avoids the code duplication. Since we strip AS casts during the computation of the offset we also need to adjust the APInt properly to avoid mismatches in the bit width. This code ensures the caller of `compute` sees APInts that match the index type size of the value passed to `compute`, not the value result of the strip pointer cast. Fixes llvm#53559. Differential Revision: https://reviews.llvm.org/D118727 (cherry picked from commit 29c8eba)
/pull-request llvmbot#66 |
I think it's fine to backport |
tstellar
pushed a commit
to llvmbot/llvm-project
that referenced
this issue
Feb 21, 2022
Use existing functionality to strip constant offsets that works well with AS casts and avoids the code duplication. Since we strip AS casts during the computation of the offset we also need to adjust the APInt properly to avoid mismatches in the bit width. This code ensures the caller of `compute` sees APInts that match the index type size of the value passed to `compute`, not the value result of the strip pointer cast. Fixes llvm#53559. Differential Revision: https://reviews.llvm.org/D118727 (cherry picked from commit 29c8eba)
jdoerfert
added a commit
to jdoerfert/llvm-project
that referenced
this issue
Mar 25, 2022
Use existing functionality to strip constant offsets that works well with AS casts and avoids the code duplication. Since we strip AS casts during the computation of the offset we also need to adjust the APInt properly to avoid mismatches in the bit width. This code ensures the caller of `compute` sees APInts that match the index type size of the value passed to `compute`, not the value result of the strip pointer cast. Fixes llvm#53559. Differential Revision: https://reviews.llvm.org/D118727
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiling XSBench with LLVM 14 crashes during optimizations. Flags were
-fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -O3
The text was updated successfully, but these errors were encountered: