-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[AMDGPU] StackSlotColoring before LowerSGPRSpill causes memfault in Blender 4.1 on gfx908 #96353
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
Comments
@llvm/issue-subscribers-backend-amdgpu Author: Yaxun (Sam) Liu (yxsamliu)
https://github.com//pull/93668 caused a regression in Blender 4.1 on gfx908 for all scenes.
|
This reverts commit 4b9112e. A separate issue(llvm#96353) describing it has been opened to further keep its track.
After spending time on ISA of good/bad cases, I found that s[0:3] represents the ScratchRsrcReg here, which is used as buffer descriptor(input) for buffer loads & stores, and thus most probably never get redefined or clobbered {since they are reserved & marked live throughout function}. Would it be better if I execute the given assembly & try to debug it? |
I have verified that with those patches on top of amd-staging branch. I will verify them with LLVM main branch. Since you have reverted your PR. Let's re-enable blender test in buildbot and wait for these two PR's committed then reland your PR. |
Yeah, sounds good! |
This reverts commit 4b9112e. A separate issue(llvm#96353) describing it has been opened to further keep its track.
CD has committed his change #93526 I think now you can reland your patch. Thanks. |
This reverts commit c2fc7f7. As the dependent patch about split vgpr regalloc pipeline solved the issue(llvm#96353).
@yxsamliu , I relanded the patch, can you please once check for the failing blender test to verify its correctness, so this issue can be finally closed! |
test is passing. thanks |
#93668 caused a regression in Blender 4.1 on gfx908 for all scenes.
The text was updated successfully, but these errors were encountered: