Skip to content

JIT test: remove SimdLoadBetweenBCs from ElidedBoundsChecks#129044

Merged
AndyAyersMS merged 1 commit into
dotnet:mainfrom
AndyAyersMS:fix-129037-elided-bc-simd
Jun 5, 2026
Merged

JIT test: remove SimdLoadBetweenBCs from ElidedBoundsChecks#129044
AndyAyersMS merged 1 commit into
dotnet:mainfrom
AndyAyersMS:fix-129037-elided-bc-simd

Conversation

@AndyAyersMS
Copy link
Copy Markdown
Member

Exception behavior of Vector128.Create from contiguous array indices changed in #128965 (no longer recognized as a single SIMD load with ArgumentOutOfRangeException).

Fixes #129037.

Exception behavior of Vector128.Create from contiguous array indices
changed in dotnet#128965 (no longer recognized as a single SIMD load with
ArgumentOutOfRangeException).

Fixes dotnet#129037.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 5, 2026 13:56
@AndyAyersMS
Copy link
Copy Markdown
Member Author

@EgorBo PTAL
fyi @dotnet/jit-contrib

@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jun 5, 2026
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CoreCLR JIT regression test ElidedBoundsChecks by removing a SIMD-based bounds-check barrier scenario that no longer matches current exception behavior after recent JIT changes (contiguous Vector128.Create(...) args no longer recognized as a single SIMD-load pattern with ArgumentOutOfRangeException).

Changes:

  • Removed the SimdLoadBetweenBCs helper method that relied on the contiguous-args Vector128.Create lowering behavior.
  • Removed the corresponding TestEntryPoint assertions that depended on observing ArgumentOutOfRangeException (CoreCLR-specific, HW-accelerated-only gate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure: JIT/opt/RangeChecks/ElidedBoundsChecks/ElidedBoundsChecks.cmd

3 participants