You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test case (https://gist.github.com/0bf0e257663a02890f36.git) will cause opt (hsail-stable-3.7) to crash.
It looks like to be an issue in SROA. For now, this problem could be worked around by disabling SROA with -use-new-sroa=false
However, it is worth noting this is doing an operation that is invalid in the first place. This is storing a local pointer to the stack, reloading from it as a generic pointer and trying to use it. An addrspacecast is necessary for this to work as expected, so even if this didn't crash in SROA this isn't what should be happening. The ptrtoint / inttoptr combination in the original IR should be an addrspacecast.
This test case (https://gist.github.com/0bf0e257663a02890f36.git) will cause opt (hsail-stable-3.7) to crash.
It looks like to be an issue in SROA. For now, this problem could be worked around by disabling SROA with -use-new-sroa=false
The text was updated successfully, but these errors were encountered: