Skip to content

Conversation

@amanasifkhalid
Copy link
Contributor

SPMI replay runs are red from this (example).

Copilot AI review requested due to automatic review settings August 5, 2025 20:03
@amanasifkhalid
Copy link
Contributor Author

@dotnet/jit-contrib PTAL, thanks!

@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 Aug 5, 2025
Copy link
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 fixes a build issue in the RISC-V JIT emitter that was causing SPMI replay runs to fail. The issue was related to an implicit pointer arithmetic conversion that needed explicit casting.

Key Changes

  • Added explicit cast to convert pointer difference to unsigned integer
  • Added assertion to validate the pointer arithmetic result

@dotnet-policy-service
Copy link
Contributor

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

@risc-vv
Copy link

risc-vv commented Aug 5, 2025

@dotnet/samsung Could you please take a look? These changes may be related to riscv64.

@jakobbotsch jakobbotsch merged commit d000ce2 into dotnet:main Aug 6, 2025
105 checks passed
@amanasifkhalid amanasifkhalid deleted the fix-emitter-riscv branch August 6, 2025 14:27
@github-actions github-actions bot locked and limited conversation to collaborators Sep 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

4 participants