Skip to content

ElidedBoundsChecks test failing #124322

@MichalStrehovsky

Description

@MichalStrehovsky
01:10:56.761 Running test: JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd
__tmp5_ElidedBoundsChecks.cs:72:16: error: ARM64-NOT: excluded string found in input
 // ARM64-NOT: CORINFO_HELP_RNGCHKFAIL
               ^
__jit_disasm.out:297:5: note: found here
 bl CORINFO_HELP_RNGCHKFAIL
    ^~~~~~~~~~~~~~~~~~~~~~~

Input file: __jit_disasm.out
Check file: __tmp5_ElidedBoundsChecks.cs

-dump-input=help explains the following input dump.

Input was:
<<<<<<
        .
        .
        .
      257: G_M56150_IG03: 
      258:  ldrh w3, [x0, w2, UXTW #2] 
      259:  cmp w3, #37 
      260:  bne G_M56150_IG05 
      261:  ;; size=12 bbWeight=3.96 PerfScore 17.82 
      262: G_M56150_IG04: 
      263:  add w3, w2, #2 
      264:  cmp w3, w1 
      265:  bhs G_M56150_IG05 
      266:  add w4, w2, #1 
      267:  cmp w4, w1 
      268:  bhs G_M56150_IG10 
      269:  add w4, w2, #1 
      270:  ldrh w4, [x0, w4, UXTW #2] 
      271:  cmp w4, #70 
      272:  bne G_M56150_IG05 
      273:  ldrh w3, [x0, w3, UXTW #2] 
      274:  cmp w3, #70 
      275:  beq G_M56150_IG08 
      276:  ;; size=52 bbWeight=1.98 PerfScore 26.73 
      277: G_M56150_IG05: 
      278:  add w2, w2, #1 
      279:  cmp w2, w1 
      280:  blt G_M56150_IG03 
      281:  ;; size=12 bbWeight=3.96 PerfScore 7.92 
      282: G_M56150_IG06: 
      283:  mov w0, wzr 
      284:  ;; size=4 bbWeight=0.50 PerfScore 0.25 
      285: G_M56150_IG07: 
      286:  ldp fp, lr, [sp], #0x10 
      287:  ret lr 
      288:  ;; size=8 bbWeight=0.50 PerfScore 1.00 
      289: G_M56150_IG08: 
      290:  mov w0, #1 
      291:  ;; size=4 bbWeight=0.50 PerfScore 0.25 
      292: G_M56150_IG09: 
      293:  ldp fp, lr, [sp], #0x10 
      294:  ret lr 
      295:  ;; size=8 bbWeight=0.50 PerfScore 1.00 
      296: G_M56150_IG10: 
      297:  bl CORINFO_HELP_RNGCHKFAIL 
not:72         !~~~~~~~~~~~~~~~~~~~~~~  error: no match expected
      298:  brk #0 
      299:  ;; size=8 bbWeight=0 PerfScore 0.00 
      300: ; END METHOD ElidedBoundsChecks:IndexPlusConstLessThanLen(System.ReadOnlySpan`1[char]):bool 
      301:  
      302: ; Total bytes of code 124, prolog size 8, PerfScore 57.97, instruction count 35, allocated bytes for code 124 (MethodHash=9d9524a9) for method ElidedBoundsChecks:IndexPlusConstLessThanLen(System.ReadOnlySpan`1[char]):bool (FullOpts) 
      303: ; ============================================================ 
      304:  
>>>>>>

Return code:      1

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1290554
Build error leg or test failing: JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd
Pull request: #124302

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["ElidedBoundsChecks.cs", "excluded string found in input"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1290554
Error message validated: [ElidedBoundsChecks.cs excluded string found in input]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/12/2026 7:55:44 AM UTC

Report

Build Definition Test Pull Request
1290946 dotnet/runtime JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd #123411
1290798 dotnet/runtime JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd #124309
1290749 dotnet/runtime JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd #124296
1290761 dotnet/runtime JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd #124291
1290695 dotnet/runtime JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd #124205
1290705 dotnet/runtime JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd #124227
1290740 dotnet/runtime JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd
1290554 dotnet/runtime JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd #124302

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
8 8 8

Metadata

Metadata

Assignees

Labels

Known Build ErrorUse this to report build issues in the .NET Helix tabarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions