-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
[InstructionSimplify] InstructionSimplify error deleted phi
#68683
Comments
I don't think this is related to CVP? This is InstSimplify behavior. This poison-propagation hole (and a number of similar ones) has been left intentionally until the "poison on uninit load" semantics come into effect. Though it's possible that the relatively wide use of noundef nowadays allows us to fix this independently. We'd have to evaluate codegen impact. |
Yes. The problem is in the
Do you have any suggestions? It looks like this is a rather large change/impact. |
phi
phi
I agree. This has a huge impact on Rust applications due to the lack of |
…m#96631) We can only replace phi(X, undef) with X, if X is known not to be poison. Otherwise, the result may be more poisonous on the undef branch. Fixes llvm#68683.
I tried this IR:
phi
should not be deleted by InstructionSimplify.alive2: https://alive2.llvm.org/ce/z/LNXeGp
The text was updated successfully, but these errors were encountered: