Now that we have more precise debug info, we should change back to use maximum to get basic block weight.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D24788
Change the basic block weight calculation algorithm to use max instead of voting. ClosedPublic Authored by danielcdh on Sep 20 2016, 3:32 PM.
Details Summary Now that we have more precise debug info, we should change back to use maximum to get basic block weight.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 21 2016, 8:23 AM
Revision Contents
Diff 71992 lib/Transforms/IPO/SampleProfile.cpp
test/Transforms/SampleProfile/calls.ll
test/Transforms/SampleProfile/fnptr.ll
|