Skip to content

JIT: Assertion failed '!node->IsUnusedValue() || !node->OperIs(GT_FIELD_LIST, GT_INIT_VAL)' during 'Global local var liveness' #116814

Closed
@jakobbotsch

Description

@jakobbotsch
// Generated by Fuzzlyn v3.2 on 2025-06-15 17:16:07
// Run on X86 Windows
// Seed: 11396928574809418613-vectort,vector128,vector256,x86aes,x86avx,x86avx2,x86avx512bw,x86avx512bwvl,x86avx512cd,x86avx512cdvl,x86avx512dq,x86avx512dqvl,x86avx512f,x86avx512fvl,x86bmi1,x86bmi2,x86fma,x86lzcnt,x86pclmulqdq,x86popcnt,x86sse,x86sse2,x86sse3,x86sse41,x86sse42,x86ssse3,x86x86base
// Reduced from 316.8 KiB to 0.6 KiB in 00:08:07
// Hits JIT assert for Release:
// Assertion failed '!node->IsUnusedValue() || !node->OperIs(GT_FIELD_LIST, GT_INIT_VAL)' in 'C1:M1(byref):byte:this' during 'Global local var liveness' (IL size 51; hash 0x17217cb6; FullOpts)
// 
//     File: D:\a\_work\1\s\src\coreclr\jit\lir.cpp Line: 1636
// 
using System;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;

public class C0
{
    public short F3;
    public long F4;
}

public class C1
{
    public byte F0;
    public C0 F3;
    public byte M1(ref byte arg0)
    {
        sbyte var0 = (sbyte)((this.F3.F4 * Program.s_3.F3) << -1);
        System.Console.WriteLine(var0);
        return this.F0;
    }
}

public class Program
{
    public static C0 s_3;
    public static byte s_11;
    public static void Main()
    {
        (new C1()).M1(ref s_11);
    }
}

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

Relationships

None yet

Development

No branches or pull requests

Issue actions