Ensure that the new merge BB (which contains the rest of the original BB
after the mem op being optimized) gets a profile frequency, in case
there are additional mem ops later in the BB. Otherwise they get skipped
as the merge BB looks cold.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5828 Build 5828: arc lint + arc unit
Event Timeline
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp | ||
---|---|---|
954 | This comment seems unnecessary :) Also can you move the DefaultBB setting after MergeBB update? |
lib/Transforms/Instrumentation/IndirectCallPromotion.cpp | ||
---|---|---|
954 | Sure. I mostly added the comment to indicate why it was important to update the MergeBB profile frequency specifically (and not the other new BBs), but can remove it. |
This comment seems unnecessary :) Also can you move the DefaultBB setting after MergeBB update?