Skip to content

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

@CarolEidt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    JitThroughputCLR JIT issues regarding speed of JIT itselfarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additionstenet-performancePerformance related issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions