dotnet / dotnet/runtime

[Wasm RyuJIT] Load PEP Only Once for JIT Helper Calls

Open
#127,468 3 comments 0 reactions 1 assignee Claimed by @adamperlin View on GitHub
arch-wasm area-CodeGen-coreclr
Dominant language
C#
Stars
18.3k
Forks
5.6k
PR merge metrics
PR metrics pending

Description

Currently, we duplicate the instruction sequence for loading the PEP for a helper. Ideally, we could anticipate the need for a local to hold the PEP and re-use the loaded PEP value. This may require anticipating everywhere we might emit a JIT helper call in codegen earlier on in `lower`, which could be a bit involved.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.