Skip to content

Investigate removing nops from substitutions #81339

@MichalStrehovsky

Description

@MichalStrehovsky

#80896 (comment)

SR.GetResourceString is not getting inlined because the original method body was pretty big. What we're left with after rewriting is just a simple mov rcx, rax.

We'd need to basically redo how substitutions are processed.

I'm putting this in the future milestone. Ideally we should not have this code - we should use RyuJIT to do IL scanning and introduce ability to feed it substitutions. RyuJIT is much better at constant propagation than anything we would write in C#. No point maintaining two codebases. Just filing this for tracking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions