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
Mem2reg is now the most complex SSA pass and has a large surface area for miscompilation bugs.
Happy Case
Mem2reg could be simplified if we can assume that aliases to a reference cannot be used while another is "active" / borrowed. This would be similar to rust's aliasability xor mutability rule. We should consider this as an option since aliasing mutable references is rare in practice.
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered:
Problem
Mem2reg is now the most complex SSA pass and has a large surface area for miscompilation bugs.
Happy Case
Mem2reg could be simplified if we can assume that aliases to a reference cannot be used while another is "active" / borrowed. This would be similar to rust's aliasability xor mutability rule. We should consider this as an option since aliasing mutable references is rare in practice.
Workaround
None
Workaround Description
No response
Additional Context
No response
Project Impact
None
Blocker Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: