Skip to content

Check a missing optimization opportunity assert failure. #55752

@sandreenko

Description

@sandreenko

#55727 was adding a check that if we see STORE_BLK(something, LCL_VAR) then LCL_VAR should be marked as doNotEnreg or have a GC pointer.

check why it was failing on arm32 linux with ZapDisabled.
https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-55727-merge-15e614c3e6144180be/JIT.Regression/console.5f22e749.log?sv=2019-07-07&se=2021-08-04T13%3A26%3A09Z&sr=c&sp=rl&sig=bK35B21Hd0gZdzk9mcbR1%2BOgX1aQYc7PShsmQge7Rnw%3D

log:

export COMPlus_TieredCompilation=0
export COMPlus_DbgEnableMiniDump=1
export COMPlus_DbgMiniDumpName=$HELIX_DUMP_FOLDER/coredump.%d.dmp
export COMPlus_ReadyToRun=0
export COMPlus_ZapDisable=1
+ export PATH=/root/helix/work/correlation/dotnet-cli:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export DOTNET_ROOT=/root/helix/work/correlation/dotnet-cli
+ export DOTNET_CLI_TELEMETRY_OPTOUT=1
+ export DOTNET_CLI_HOME=/root/helix/work/workitem/.dotnet
+ export NUGET_PACKAGES=/root/helix/work/workitem/.nuget
+ dotnet /root/helix/work/correlation/xunit/xunit.console.dll JIT/Regression/JIT.Regression.XUnitWrapper.dll -parallel collections -nocolor -noshadow -xml testResults.xml -trait TestGroup=JIT.Regression
Microsoft.DotNet.XUnitConsoleRunner v2.5.0 (32-bit .NET 6.0.0-preview.4.21253.7)
  Discovering: JIT.Regression.XUnitWrapper (method display = ClassAndMethod, method display options = None)
  Discovered:  JIT.Regression.XUnitWrapper (found 739 of 1478 test cases)
  Starting:    JIT.Regression.XUnitWrapper (parallel test collections = on, max threads = 4)
    JIT/Regression/JitBlue/DevDiv_280120/DevDiv_280120/DevDiv_280120.sh [FAIL]
      
      Assert failure(PID 143 [0x0000008f], Thread: 143 [0x008f]): Assertion failed 'comp->lvaVarDoNotEnregister(srcLclNum) || lvlVar->HasGCPtr()' in 'System.Diagnostics.Tracing.EventSource:Initialize(System.Guid,System.String,System.String[]):this' during 'Lowering nodeinfo' (IL size 336)
      
          File: /__w/1/s/src/coreclr/jit/lowerarmarch.cpp Line: 310
          Image: /root/helix/work/correlation/corerun

category:correctness
theme:lower
skill-level:beginner
cost:small
impact:small

Metadata

Metadata

Assignees

Labels

Priority:2Work that is important, but not critical for the releasearch-arm32area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIoptimizationos-linuxLinux OS (any supported distro)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions