-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionsin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is mergedoptimizationtenet-performancePerformance related issuePerformance related issue
Milestone
Description
The jit optimizes stelem.ref to avoid the store covariance check when the value being stored is from the same array (at least for obvious cases like a[i] = a[j]) or the value being stored is null.
But it doesn't do the same for stelem with a ref type. Looks like it easily could.
category:cq
theme:optimization
skill-level:expert
cost:small
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additionsin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is mergedoptimizationtenet-performancePerformance related issuePerformance related issue