Skip to content

Complete support for containment of memory operands under casts #74490

Description

@SingleAccretion

#72719 added basic support for containment of memory operands under casts. We can and should extend it.

  1. Contain indirections with complex addressing modes on ARM/ARM64. The complicating factor is that the rules for when a certain addressing mode can be contained are quite complex on these architectures, and cast containment can effectively alter the load width. We should factor the code such that deciding when the containment is still possible and profitable is easy.
  2. Enable containment for LA64 and abstract the legality check in lowering.

category:implementation
theme:memory-usage

Activity

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

Metadata

Metadata

Labels

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

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions