-
Notifications
You must be signed in to change notification settings - Fork 541
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
crash in --eliminate-local-multi-store #826
Comments
Cc @greg-lunarg |
The live var set is empty when processing the self-loop block with id 14. And the pass crashes when processing the (16, 14) pair at the end of the OpPhi with id 15. |
I have a fix. Making a test for it. |
Yeah, the code assumes all phi's need to be patched, in actuality, only phi's generated by the elim-multi-store pass need to patched. Is that your fix? |
There can already be OpPhi instructions in a loop header that are unrelated to the optimization. We should not be patching those. Fixes KhronosGroup#826
Yes. Please take a look at #828 |
There can already be OpPhi instructions in a loop header that are unrelated to the optimization. We should not be patching those. Fixes #826
There can already be OpPhi instructions in a loop header that are unrelated to the optimization. We should not be patching those. Fixes KhronosGroup#826
Example from Vulkan CTS, reduces to this:
The problem appears in processing %16, in the PatchPhis method.
The text was updated successfully, but these errors were encountered: