runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[RyuJIT/arm32] Assertion failed 'isGeneralRegister(id->idReg2())'

Open BruceForstall opened this issue 9 years ago • 4 comments

At emitarm.cpp Line: 203

Example:

Assert failure(PID 12720 [0x000031b0], Thread: 9272 [0x2438]): Assertion failed 'isGeneralRegister(id->idReg2())' in 'StructABI:Main():int' (IL size 2040)

    File: c:\gh\coreclr\src\jit\emitarm.cpp Line: 203
    Image: c:\brucefo\tests\Windows_NT.arm.Checked\Tests\Core_Root\CoreRun.exe

Tests with this assert:

JIT\Directed\StructABI\StructABI\StructABI.cmd

Note: this test also asserts in legacy JIT:

Assert failure(PID 12720 [0x000031b0], Thread: 9272 [0x2438]): Assertion failed '!(op1->gtFlags & GTF_REG_VAL)' in 'StructABI:Main():int' (IL size 2040)

    File: c:\gh\coreclr\src\jit\codegenlegacy.cpp Line: 11105
    Image: c:\brucefo\tests\Windows_NT.arm.Checked\Tests\Core_Root\CoreRun.exe

BruceForstall avatar May 23 '17 18:05 BruceForstall

This test is skipped when running with runtests.sh on Linux arm32, because JIT/Directed/StructABI/StructABI/StructABI.sh is listed at https://github.com/dotnet/coreclr/blob/master/tests/testsFailingOutsideWindows.txt#L4

hqueue avatar Jun 01 '17 08:06 hqueue

Dup of dotnet/runtime#6962?

RussKeldorph avatar Jul 19 '17 12:07 RussKeldorph

Yes.

BruceForstall avatar Jul 19 '17 16:07 BruceForstall

(Well, assuming the fix for dotnet/runtime#6962 fixes both legacy_backend and RyuJIT)

BruceForstall avatar Jul 19 '17 16:07 BruceForstall