Skip to content

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

Closed

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

Activity

  1. ghost added
    untriagedNew issue has not been triaged by the area owner
    on May 2, 2023
  2. jakobbotsch commented on May 2, 2023

    @jakobbotsch
    Member

    Going to put this in future given the non-standard environment variables. IMO if we want to make JitOptRepeat work we should start out with making it run with our test suite.

  3. added this to the Future milestone on May 2, 2023
  4. ghost removed
    untriagedNew issue has not been triaged by the area owner
    on May 2, 2023
  5. kunalspathak commented on May 2, 2023

    @kunalspathak
    ContributorAuthor

    Going to put this in future given the non-standard environment variables

    I agree. I think I will take this out from Antigen (which I thought I did once).

  6. kunalspathak commented on May 2, 2023

    @kunalspathak
    ContributorAuthor

    think I will take this out from Antigen (which I thought I did once).

    Done. kunalspathak/Antigen@0d70a38

  7. BruceForstall commented on Apr 5, 2024

    @BruceForstall
    Contributor

    This doesn't repro for me. Possibly fixed by #94250 and related.

  8. locked and limited conversation to collaborators on May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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