-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
JIT: Assertion failed '!"Write to unaliased local overlaps outstanding read"' during 'Rationalize IR' #77773
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue Details// Generated by Fuzzlyn v1.5 on 2022-11-02 10:14:49
// Run on X64 Windows
// Seed: 14352496230403376157
// Reduced from 191.3 KiB to 0.5 KiB in 00:01:55
// Hits JIT assert in Release:
// Assertion failed '!"Write to unaliased local overlaps outstanding read"' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Rationalize IR' (IL size 42; hash 0xade6b36b; FullOpts)
//
// File: C:\dev\dotnet\runtime3\src\coreclr\jit\lir.cpp Line: 1407
//
public struct S0
{
public int F1;
}
public struct S2
{
public uint F0;
public ushort F1;
}
public class Program
{
public static S2 s_1;
public static S2 s_16;
public static sbyte[][] s_20;
public static int[] s_21;
public static void Main()
{
var vr9 = new S0();
s_1.F0 <<= M41(vr9, ref s_16.F1);
}
public static sbyte M41(S0 argThis, ref ushort arg1)
{
argThis.F1 = s_21[0];
return s_20[0][0];
}
} Looks introduced/exposed by #77641, cc @SingleAccretion
|
This is a tricky issue. Distilled, we have (local) copy propagation replacing a use of a local that will redefined before being used by the parent, i. e. USER
op1: LCL_VAR V02 => V05
op2: ...
STORE_LCL_VAR<V05>(...) (The This is a fundamental limitation that we are running into here, the only way to solve it is through some workaround... |
Full output:
Looks introduced/exposed by #77641, cc @SingleAccretion
The text was updated successfully, but these errors were encountered: