Dead cloned loops are not removed #5820
Labels
area-CodeGen-coreclr
CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
enhancement
Product code improvement that does NOT require public API changes/additions
optimization
tenet-performance
Performance related issue
Milestone
I noticed this problem in the code RyuJIT generates for several BenchI benchamrks. For example, here is the source code for Iniarray benchmark:
and here is the code the jit is generating:
Note that while the array bounds check in the G_M24601_IG05 loop (created by optCloneLoops) is eliminated, the loop itself is not eliminated even though it's dead.
category:cq
theme:loop-opt
skill-level:intermediate
cost:medium
The text was updated successfully, but these errors were encountered: