Skip to content

Use stelm.ref helper calls towards array bounds check assertions and range check elimination #8096

Open

Description

@erozenfeld

In case of generic arrays instantiated over obj-ref, store to array takes place using stelem.ref helper (CORINFO_HELP_ARRADDR_ST). This helper call performs both a null check and array bounds check before assigning the value using a write barrier. Right now neither assertion prop nor range check make use of stelm.ref helper calls to eliminate redundant bounds checks.

category:cq
theme:bounds-checks
skill-level:expert
cost:medium
impact:medium

Activity

  1. self-assigned this
    on May 12, 2017
  2. transferred this issue fromdotnet/coreclron Jan 31, 2020
  3. added this to the Future milestone on Jan 31, 2020
  4. removed their assignment
    on Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additionsoptimizationtenet-performancePerformance related issue

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions