Skip to content

[RyuJIT][LSRA] Restructure LinearScan::isAssigned to improve efficiency #8758

Closed

Description

@CarolEidt

bool LinearScan::isAssigned(RegRecord* regRec ARM_ARG(RegisterType newRegType)) calls bool LinearScan::isAssigned(RegRecord* regRec, LsraLocation lastLocation ARM_ARG(RegisterType newRegType)) with lastLocation set to MaxLocation. This doesn't make it easy for the C++ compiler to optimize away the check in this case.

category:throughput
theme:register-allocator
skill-level:intermediate
cost:medium

Activity

  1. wateret commented on Aug 18, 2017

    @wateret
    Member
  2. transferred this issue fromdotnet/coreclron Jan 31, 2020
  3. added this to the Future milestone on Jan 31, 2020
  4. kunalspathak commented on Sep 29, 2022

    @kunalspathak
    Contributor

    We do not take lastLocation into account anymore.

  5. ghost locked as resolved and limited conversation to collaborators on Oct 29, 2022
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

    JitThroughputarea-CodeGen-coreclrenhancementtenet-performance

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions