- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.2k
 
Closed
Labels
Priority:3Work that is nice to haveWork that is nice to havearea-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 SuperPMIin-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 mergedtenet-performancePerformance related issuePerformance related issue
Milestone
Description
I see that most code clearing this flag is doing the moral equivalent of the following:
block->bbWeight = weight;
if (weight > 0)
{
    block->bbFlags &= ~BBF_RUN_RARELY;
}Perhaps it would be feasible to avoid writing this code and just use bbWeight == 0.0f (bbSetRunRarely/isRunRarely) everywhere instead?
cc @AndyAyersMS
Edit: label addition was not intended :(.
category:cq
theme:profile-feedback
Metadata
Metadata
Assignees
Labels
Priority:3Work that is nice to haveWork that is nice to havearea-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 SuperPMIin-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 mergedtenet-performancePerformance related issuePerformance related issue
Type
Projects
Status
Done