Skip to content

JIT: Assertion failed 'isGeneralRegister(reg2)' during 'Generate code' #113337

@jakobbotsch

Description

@jakobbotsch
// Generated by Fuzzlyn v2.4 on 2025-03-09 15:13:05
// Run on Arm64 Windows
// Seed: 7075707008869258884-vectort,vector64,vector128,armadvsimd,armadvsimdarm64,armaes,armarmbase,armarmbasearm64,armcrc32,armcrc32arm64,armdp,armrdm,armrdmarm64,armsha1,armsha256,armsve
// Reduced from 47.0 KiB to 0.4 KiB in 00:00:50
// Hits JIT assert in Release:
// Assertion failed 'isGeneralRegister(reg2)' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Generate code' (IL size 38; hash 0xade6b36b; FullOpts)
// 
//     File: D:\a\_work\1\s\src\coreclr\jit\emitarm64.cpp Line: 5520
// 
using System;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;

public class Program
{
    public static sbyte[] s_7;
    public static void Main()
    {
        var vr9 = Vector64.Create<float>(0);
        if ((2147483647 == (-(int)AdvSimd.Extract(vr9, 1))))
        {
            s_7 = s_7;
        }
    }
}

Introduced/exposed by #112944. Can you PTAL @snickolls-arm?

cc @dotnet/jit-contrib

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIin-prThere is an active PR which will close this issue when it is merged

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions