Skip to content

JIT: Morph incorrectly folds FIELD_ADDRs into parent stores when it can reorder side effects #125343

Closed

Description

@jakobbotsch

#125141 fixes the importer creating incorrectly ordered IR for stfld. However, this was previously hidden in most cases because morph tends to fold FIELD_ADDR into parent indirs. For stores that reorders the side effects of the data node with the null check on the FIELD_ADDR. We should fix morph to take care not to reorder side effect.

Activity

  1. added
    untriaged
    on Mar 9, 2026
  2. added
    area-CodeGen-coreclr
    on Mar 9, 2026
  3. dotnet-policy-service commented on Mar 9, 2026

    @dotnet-policy-service
    Contributor

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

  4. MihuBot commented on Mar 9, 2026

    @MihuBot

    I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):

  5. added this to the 11.0.0 milestone on Mar 13, 2026
  6. removed
    untriaged
    on Mar 15, 2026
  7. added a commit that references this issue on May 14, 2026
    d426e81
  8. locked and limited conversation to collaborators on Jun 14, 2026
  9. added a commit that references this issue on Jul 15, 2026
    84f7328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclr

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions