Skip to content

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

Closed

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

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Jan 30, 2023
  2. ghost added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Jan 30, 2023
  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Jan 30, 2023
  4. self-assigned this
    on Jan 30, 2023
  5. kunalspathak commented on Jan 30, 2023

    @kunalspathak
    Contributor
  6. kunalspathak commented on Jan 31, 2023

    @kunalspathak
    Contributor

    Introduced by #77078

  7. kunalspathak commented on Jan 31, 2023

    @kunalspathak
    Contributor

    Introduced by #77078

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

  8. ghost added
    in-prThere is an active PR which will close this issue when it is merged
    on Jan 31, 2023
  9. ghost removed
    in-prThere is an active PR which will close this issue when it is merged
    on Feb 3, 2023
  10. ghost locked as resolved and limited conversation to collaborators on Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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