-
Notifications
You must be signed in to change notification settings - Fork 0
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
SwiftShader: Segfault #9
Comments
Yes @Jack-Clark , a loop header can be its own continue target (this example is allowed - SHO is Entry). About the segfault I have to dig a bit into this. |
@Jack-Clark, I don't get segfault in my Mac
|
Great, thanks for confirming this. Regarding the segfault, dId you use SwiftShader or moltenVK? |
MoltenVK
|
As stated in #8, we get an error when the node in the fleshing path is both a switch case and merge block of the switch and further, the switch is the head of the path. The successful execution that I mentioned above was using a fleshing path other than this. Maybe we have a chat with @afd at some point to clarify this (not clear to me at the moment). |
Hmmm, which commit are you using for SwiftShader? I installed SwiftShader on my desktop (using the commit in the original post) and could reproduce the segfault. |
I think this is allowed, but @vili-1 can you confirm that a loop header can be its own continue target? See the CFG below.
Executing
amber -t spv1.3 -v 1.1 reduced-segfault.amber
leads to a segfault. I think this may be related to #8 as both seem to rely on there being input variable accesses in a selection header followed by a loop header.I have attached an archive containing the files.
The text was updated successfully, but these errors were encountered: