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
{{ message }}
Repository navigation
Forward substitution for relops can create new data races #62048
Eventually this program will throw an exception, even as one would think it never should.
The cause is that in the branch forward substitution optimization, we copy the indirection and end up with two indirections (that can, naturally, disagree).
It is unclear to me whether this new behavior can be considered correct or not.
@dotnet/jit-contrib
Activity
ghost added
untriagedNew issue has not been triaged by the area owner
Activity
AndyAyersMS commentedon Nov 30, 2021
Thanks for pointing this out. We should be more careful here.
JIT: don't forward sub a volatile read tree via copy
JIT: don't forward sub a volatile read tree via copy (#62224)