Skip to content

JIT: Assertion failed 'm_dfsTree != nullptr' #115168

Closed
@BruceForstall

Description

@BruceForstall
// Generated by Fuzzlyn v2.9 on 2025-04-29 21:12:44
// Run on X64 Windows
// Seed: 1988339208440149902-vectort,vector128,vector256,x86aes,x86avx,x86avx2,x86avx512bw,x86avx512bwvl,x86avx512cd,x86avx512cdvl,x86avx512dq,x86avx512dqvl,x86avx512f,x86avx512fvl,x86avx512fx64,x86bmi1,x86bmi1x64,x86bmi2,x86bmi2x64,x86fma,x86lzcnt,x86lzcntx64,x86pclmulqdq,x86popcnt,x86popcntx64,x86sse,x86ssex64,x86sse2,x86sse2x64,x86sse3,x86sse41,x86sse41x64,x86sse42,x86sse42x64,x86ssse3,x86x86base
// Reduced from 63.5 KiB to 1.0 KiB in 00:01:26
// Hits JIT assert in Release:
// Assertion failed 'm_dfsTree != nullptr' in 'Program:M1(C0)' during 'Do value numbering' (IL size 72; hash 0xc7c374c5; FullOpts)
// 
//     File: D:\a\_work\1\s\src\coreclr\jit\valuenum.cpp Line: 10867
// 
using System;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;

public class C0
{
    public byte F0;
    public ushort F4;
}

public class Program
{
    public static void Main()
    {
        var vr1 = new C0();
        M1(vr1);
    }

    public static void M1(C0 argThis)
    {
        switch ((Bmi1.AndNot(4294967295U, argThis.F4) & argThis.F0))
        {
            case 0:
            {
                Vector<long> var0 = Vector.Create<long>(0);
                System.Console.WriteLine(var0);
            }

                break;
            case 1:
            {
            }

                break;
            case 2:
            {
            }

                break;
            case 3:
            {
            }

                break;
            case 4:
            {
            }

                break;
            default:
            {
            }

                break;
        }
    }
}

Metadata

Metadata

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runs

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions