Skip to content
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 '!tree->IsUnusedValue() || (dstCount != 0)' during 'Linear scan register alloc' #81356

Closed
jakobbotsch opened this issue Jan 30, 2023 · 4 comments · Fixed by #81412
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Comments

@jakobbotsch
Copy link
Member

// Generated by Fuzzlyn v1.5 on 2023-01-29 16:01:38
// Run on X64 Windows
// Seed: 1558527855815242520
// Reduced from 309.9 KiB to 0.2 KiB in 00:06:49
// Hits JIT assert in Debug:
// Assertion failed '!tree->IsUnusedValue() || (dstCount != 0)' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Linear scan register alloc' (IL size 19; hash 0xade6b36b; MinOpts)
// 
//     File: D:\a\_work\1\s\src\coreclr\jit\lsraxarch.cpp Line: 685
// 
public class Program
{
    public static byte[] s_130;
    public static void Main()
    {
        ulong vr5 = default(ulong);
        byte vr4 = (byte)(((byte)vr5 & 0) * s_130[0]);
    }
}

Bisected to 08f13dd, cc @JulieLeeMSFT

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jan 30, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jan 30, 2023
@ghost
Copy link

ghost commented Jan 30, 2023

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak
See info in area-owners.md if you want to be subscribed.

Issue Details
// Generated by Fuzzlyn v1.5 on 2023-01-29 16:01:38
// Run on X64 Windows
// Seed: 1558527855815242520
// Reduced from 309.9 KiB to 0.2 KiB in 00:06:49
// Hits JIT assert in Debug:
// Assertion failed '!tree->IsUnusedValue() || (dstCount != 0)' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Linear scan register alloc' (IL size 19; hash 0xade6b36b; MinOpts)
// 
//     File: D:\a\_work\1\s\src\coreclr\jit\lsraxarch.cpp Line: 685
// 
public class Program
{
    public static byte[] s_130;
    public static void Main()
    {
        ulong vr5 = default(ulong);
        byte vr4 = (byte)(((byte)vr5 & 0) * s_130[0]);
    }
}

Bisected to 08f13dd, cc @JulieLeeMSFT

Author: jakobbotsch
Assignees: -
Labels:

area-CodeGen-coreclr, untriaged

Milestone: -

@jakobbotsch jakobbotsch removed the untriaged New issue has not been triaged by the area owner label Jan 30, 2023
@kunalspathak kunalspathak self-assigned this Jan 30, 2023
@kunalspathak
Copy link
Member

@kunalspathak
Copy link
Member

Introduced by #77078

@kunalspathak
Copy link
Member

Introduced by #77078

Ah, just noticed that @jakobbotsch already bisected it :) Working on the fix.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jan 31, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 3, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
2 participants