Skip to content

Assertion failed '!(checkUnusedValues && def->IsUnusedValue()) && "operands should never be marked as unused values"' during 'Lowering nodeinfo' #115488

Closed
@kunalspathak

Description

@kunalspathak

superpmi collection

unused_value.zip

// Found by Antigen
// Reduced from 50.68 KB to 1.71 KB.


using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
public class TestClass
{
    static Vector512<double> s_v512_double_51 = Vector512.Create(5.033707865168539);
    Vector512<double> v512_double_113 = Vector512.Create(-1.8461538461538463, 0, -4.942857142857143, 3.0576923076923075, 0.06382978723404255, -1.9444444444444444, 3.1363636363636362, 5.2105263157894735);
    public void Method0()
    {
        unchecked
        {
            byte byte_221 = 0;
            s_v512_double_51 = Avx512F.TernaryLogic(v512_double_113, v512_double_113, v512_double_113, byte_221);
            return;
        }
    }
    public static void Main(string[] args)
    {
        new TestClass().Method0();
    }
}
/*
Environment:

set DOTNET_TieredCompilation=0

JIT assert failed:
Assertion failed '!(checkUnusedValues && def->IsUnusedValue()) && "operands should never be marked as unused values"' in 'TestClass:Method0():this' during 'Lowering nodeinfo' (IL size 379; hash 0x46e9aa75; FullOpts)

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


*/

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions