Currently the VP metadata was dropped when InstCombine converts a call to direct call. This patch converts the VP metadata to branch_weights so that its hotness is recorded.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 5227 Build 5227: arc lint + arc unit
Event Timeline
Comment Actions
lgtm
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
4147 | Add a comment here for the need of preserving vp data. |
Add a comment here for the need of preserving vp data.