Skip to content

JIT: Assertion failed 'cond == test->AsOp()->gtOp1' during 'Update flow graph early pass'  #103600

Closed
@jakobbotsch

Description

@jakobbotsch
// Generated by Fuzzlyn v1.6 on 2024-06-16 15:10:23
// Run on X64 Windows
// Seed: 6886681321438315426
// Reduced from 30.1 KiB to 0.3 KiB in 00:01:11
// Hits JIT assert in Release:
// Assertion failed 'cond == test->AsOp()->gtOp1' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Update flow graph early pass' (IL size 27; hash 0xade6b36b; FullOpts)
// 
//     File: D:\a\_work\1\s\src\coreclr\jit\fgopt.cpp Line: 5447
// 
using System.Runtime.CompilerServices;

public class Program
{
    public static void Main()
    {
        ulong[] vr0 = default(ulong[]);
        if (0 > vr0[0])
        {
            vr0 = vr0;
        }
        else
        {
            vr0 = new ulong[]{0};
        }

        vr0[0] = vr0[0];
    }
}

cc @amanasifkhalid, looks like there's still some of these cases hanging around.

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

Relationships

None yet

Development

No branches or pull requests

Issue actions