-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
[AMDGPU][OpenMP] OpenMC debug build process crashes #64163
Comments
@llvm/issue-subscribers-backend-amdgpu |
Can you attach the failing temps |
What do you mean by temps here? Is there a CMAKE option that can be used to get intermediate files (also won't those be a lot?)? |
I mean the .bc, .s and .i files for the failing case. There's no cmake option. Sometimes the clang assertion points you to a preprocessed source and a script to repeat the compile which works well enough. Better would be just get to the failing clang invocation (e.g. run ninja -v -j 1) and copy the command at the failure point. Then you can add -save-temps, or can extract the exact cc1 or lld command by looking at the -### output. |
inputs.zip Haven't looked into any potential source of error yet. |
I think this just needs to be use_nodbg_operands |
Actually we do want to update the debug instructions, I think it just needs to skip the debug uses for the assert |
Opened D156893 |
… reg in SIOptimizeVGPRLiveRange This will prevent the `assert(!O.readsReg())` from firing in SIOptimizeVGPRLiveRange::optimizeLiveRange Fix for #64163 Reviewed By: arsenm, #amdgpu Differential Revision: https://reviews.llvm.org/D156893
This was fixed by 3dc413e but apparently github only noticed the referenced, not the fix part |
As the title says I can't build the OpenMC app with
-DCMAKE_BUILD_TYPE=Debug|RelWithDebInfo
cmake options mentioned here.-DCMAKE_BUILD_TYPE=Release
builds fine.I'm using the build scripts from https://github.com/jtramm/openmc_offloading_builder for MI100 target. I'm not aware which compiler commit introduced this behavior I trying to build with the latest compiler.
Attaching the stack trace of the crash
The text was updated successfully, but these errors were encountered: