[RyuJIT/arm32] Assertion failed 'unreached' (emitarm.cpp:3287, emitIns_R_R_R_I())
At emitarm.cpp Line: 3287
Example:
Assert failure(PID 12568 [0x00003118], Thread: 13644 [0x354c]): Assertion failed 'unreached' in 'testout1:Sub_Funclet_2():double' (IL size 335)
File: c:\gh\coreclr\src\jit\emitarm.cpp Line: 3287
Image: c:\brucefo\tests\Windows_NT.arm.Checked\Tests\Core_Root\CoreRun.exe
Tests with this assert:
JIT\Directed\cmov\Double_And_Op_cs_d\Double_And_Op_cs_d.cmd
JIT\Directed\cmov\Double_And_Op_cs_r\Double_And_Op_cs_r.cmd
JIT\Directed\cmov\Double_No_Op_cs_d\Double_No_Op_cs_d.cmd
JIT\Directed\cmov\Double_No_Op_cs_r\Double_No_Op_cs_r.cmd
JIT\Directed\cmov\Double_Or_Op_cs_d\Double_Or_Op_cs_d.cmd
JIT\Directed\cmov\Double_Or_Op_cs_r\Double_Or_Op_cs_r.cmd
JIT\Directed\cmov\Double_Xor_Op_cs_d\Double_Xor_Op_cs_d.cmd
JIT\Directed\cmov\Double_Xor_Op_cs_r\Double_Xor_Op_cs_r.cmd
JIT\Methodical\Arrays\range\_il_dbgfloat64_range1\_il_dbgfloat64_range1.cmd
JIT\Methodical\Arrays\range\_il_relfloat64_range1\_il_relfloat64_range1.cmd
JIT\opt\perf\doublealign\Arrays\Arrays.cmd
JIT\Performance\CodeQuality\BenchF\LLoops\LLoops\LLoops.cmd
JIT\Performance\CodeQuality\BenchF\Romber\Romber\Romber.cmd
JIT\Performance\CodeQuality\Burgers\Burgers\Burgers.cmd
JIT\Performance\CodeQuality\SIMD\ConsoleMandel\ConsoleMandel\ConsoleMandel.cmd
JIT\SIMD\AbsGeneric_r\AbsGeneric_r.cmd
JIT\SIMD\AbsGeneric_ro\AbsGeneric_ro.cmd
JIT\SIMD\BitwiseOperations_r\BitwiseOperations_r.cmd
JIT\SIMD\BitwiseOperations_ro\BitwiseOperations_ro.cmd
JIT\SIMD\CreateGeneric_r\CreateGeneric_r.cmd
JIT\SIMD\CreateGeneric_ro\CreateGeneric_ro.cmd
JIT\SIMD\Haar-likeFeaturesGeneric_r\Haar-likeFeaturesGeneric_r.cmd
JIT\SIMD\Haar-likeFeaturesGeneric_ro\Haar-likeFeaturesGeneric_ro.cmd
JIT\SIMD\SqrtGeneric_r\SqrtGeneric_r.cmd
JIT\SIMD\SqrtGeneric_ro\SqrtGeneric_ro.cmd
JIT\SIMD\VectorAbs_r\VectorAbs_r.cmd
JIT\SIMD\VectorAbs_ro\VectorAbs_ro.cmd
JIT\SIMD\VectorAdd_r\VectorAdd_r.cmd
JIT\SIMD\VectorAdd_ro\VectorAdd_ro.cmd
JIT\SIMD\VectorArgs_r\VectorArgs_r.cmd
JIT\SIMD\VectorArgs_ro\VectorArgs_ro.cmd
JIT\SIMD\VectorArray_r\VectorArray_r.cmd
JIT\SIMD\VectorArray_ro\VectorArray_ro.cmd
JIT\SIMD\VectorArrayInit_r\VectorArrayInit_r.cmd
JIT\SIMD\VectorArrayInit_ro\VectorArrayInit_ro.cmd
JIT\SIMD\VectorCopyToArray_r\VectorCopyToArray_r.cmd
JIT\SIMD\VectorCopyToArray_ro\VectorCopyToArray_ro.cmd
JIT\SIMD\VectorDiv_r\VectorDiv_r.cmd
JIT\SIMD\VectorDiv_ro\VectorDiv_ro.cmd
JIT\SIMD\VectorGet_r\VectorGet_r.cmd
JIT\SIMD\VectorGet_ro\VectorGet_ro.cmd
JIT\SIMD\VectorMatrix_r\VectorMatrix_r.cmd
JIT\SIMD\VectorMatrix_ro\VectorMatrix_ro.cmd
JIT\SIMD\VectorMax_r\VectorMax_r.cmd
JIT\SIMD\VectorMax_ro\VectorMax_ro.cmd
JIT\SIMD\VectorMin_r\VectorMin_r.cmd
JIT\SIMD\VectorMin_ro\VectorMin_ro.cmd
JIT\SIMD\VectorMul_r\VectorMul_r.cmd
JIT\SIMD\VectorMul_ro\VectorMul_ro.cmd
JIT\SIMD\VectorRelOp_r\VectorRelOp_r.cmd
JIT\SIMD\VectorRelOp_ro\VectorRelOp_ro.cmd
JIT\SIMD\VectorReturn_r\VectorReturn_r.cmd
JIT\SIMD\VectorReturn_ro\VectorReturn_ro.cmd
JIT\SIMD\VectorSub_r\VectorSub_r.cmd
JIT\SIMD\VectorSub_ro\VectorSub_ro.cmd
@BruceForstall This issue is not reproduced that log. I'm using https://github.com/dotnet/coreclr/commit/b2150d5fc16 commit with COMPlus_AltJitAssertOnNYI=0 COMPlus_AltJit=* options.
The error message is changed as follows:
FAILED - JIT/SIMD/VectorMin_r/VectorMin_r.sh
BEGIN EXECUTION
/home/pi3/Downloads/ryujit/overlay-checked/corerun VectorMin_r.exe
Assert failure(PID 13970 [0x00003692], Thread: 13970 [0x3692]): Assertion failed '!varTypeIsStruct(call) || call->HasMultiRegRetVal() || callHasRetBuffArg' in 'Vector4Test:VectorMin(float,float,float):int' (IL size 136)
File: /opt/code/src/jit/morph.cpp Line: 5459
Image: /home/pi3/Downloads/ryujit/overlay-checked/corerun
@jyoungyun I think this assertion seems to be also hidden by other PR which inserts NYI assertion as described at https://github.com/dotnet/coreclr/issues/11846#issuecomment-305124973.
Eventually (after more bugs are fixed) I'll do a rerun, and if this doesn't reproduce then, I'll close it.
No longer repros