Skip to content

JIT: Assertion failed '!tree->IsUnusedValue() || (dstCount != 0)' during 'Linear scan register alloc' #81356

@jakobbotsch

Description

@jakobbotsch
// 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

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions