Skip to content

Assertion failed '!"Unknown operator for loop increment"' during 'Optimize Valnum CSEs' #85631

@kunalspathak

Description

@kunalspathak

Repro: https://gist.github.com/kunalspathak/0bb5980bc49f625bcd7e2e02c17e1e98

Environment:

set COMPlus_JitOptRepeat=*
set COMPlus_JitAggressiveInlining=1
set COMPlus_JitNoMemoryBarriers=1
set COMPlus_TailCallLoopOpt=0
set COMPlus_JitEnableNoWayAssert=1
set COMPlus_TC_OnStackReplacement=1
set COMPlus_AltJitName=clrjit_universal_arm64_x64.dll
set COMPlus_AltJit=TryRunSingle

Out of memory.
Assert failure(PID 9428 [0x000024d4], Thread: 19772 [0x4d3c]): Assertion failed '!"Unknown operator for loop increment"' in 'System.Number+Grisu3:TryRunSingle(float,int,byref):bool' during 'Optimize Valnum CSEs' (IL size 174; hash 0xf28546e5; Tier1)
    File: E:\git\runtime\src\coreclr\jit\compiler.hpp Line: 3209
    Image: e:\git\runtime\artifacts\tests\coreclr\windows.x64.Checked\tests\Core_Root\CoreRun.exe

Metadata

Metadata

Assignees

Labels

arch-arm64area-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