Skip to content

JIT: Extra flags seen on switch node #53548

Closed
@AndyAyersMS

Description

@AndyAyersMS

Failure seen in libraries testing with arm32/pgo (https://dev.azure.com/dnceng/public/_build/results?buildId=1163507&view=ms.vss-test-web.build-test-results-tab)

  Discovering: System.Formats.Cbor.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Formats.Cbor.Tests (found 338 test cases)
  Starting:    System.Formats.Cbor.Tests (parallel test collections = on, max threads = 4)
Extra flags on tree [000021]: -CXG--------
               [000021] --CXG+-------             *  SWITCH    void  
               [000272] -------------             \--*  LCL_VAR   int    V20 tmp14        

Assert failure(PID 62 [0x0000003e], Thread: 68 [0x0044]): Assertion failed '!"Extra flags on tree"' in 'Microsoft.FSharp.Core.CompilerServices.GeneratedSequenceBase`1[__Canon][System.__Canon]:MoveNextImpl():bool:this' during 'Optimize layout' (IL size 121)

Likely fgOptimizeSwitchJumps needs to recompute the flags on the switch node.

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions