Skip to content

Assertion failed '((node->OperGet() == GT_CALL) && def->OperIs(GT_PUTARG_STK)) || ((node->OperGet() == GT_JTRUE) && (def->TypeGet() == TYP_VOID) && ((def->gtFlags & GTF_SET_FLAGS) != 0))' during 'Lowering nodeinfo' #115491

Open
@kunalspathak

Description

@kunalspathak
// Found by Antigen
// Reduced from 31.75 KB to 1.04 KB.


using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using System.Runtime.Intrinsics.X86;
using System.Numerics;
public class TestClass
{
    static Vector512<int> s_v512_int_45 = Vector512<int>.AllBitsSet;
    bool bool_67 = false;
    Vector512<int> v512_int_106 = Vector512.Create(2, 10, 0, -1, -1, 10, -1, -5, -5, -5, 2, 10, -5, 0, -5, 0);
    private static List<string> toPrint = new List<string>();
    public void Method0()
    {
        unchecked
        {
            bool_67 = Vector512.EqualsAll(v512_int_106 - v512_int_106& (s_v512_int_45 *= Vector512<int>.Zero)^ Vector256.ToVector512(Vector256<int>.AllBitsSet), Vector512.IsPositive(Vector512<int>.AllBitsSet & v512_int_106));
            return;
        }
    }
    public static int Main(string[] args)
    {
        return Antigen();
    }
    public static int Antigen()
    {
        new TestClass().Method0();
        return string.Join(Environment.NewLine, toPrint).GetHashCode();
    }
}
/*
Environment:

set DOTNET_TieredCompilation=0

JIT assert failed:
Assertion failed '((node->OperGet() == GT_CALL) && def->OperIs(GT_PUTARG_STK)) || ((node->OperGet() == GT_JTRUE) && (def->TypeGet() == TYP_VOID) && ((def->gtFlags & GTF_SET_FLAGS) != 0))' in 'TestClass:Method0():this' during 'Lowering nodeinfo' (IL size 91; hash 0x46e9aa75; FullOpts)

    File: D:\a\_work\1\s\src\coreclr\jit\lir.cpp Line: 1659


*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIos-windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions