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
- Repository
- rL LLVM
Event Timeline
Comment Actions
lgtm
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
4134 ↗ | (On Diff #92968) | Add a comment here for the need of preserving vp data. |