[PATCH] D32041: [InstCombine] Fix !prof metadata preservation for invokes
Yevgeny Rouban via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 05:51:26 PDT 2020
yrouban added inline comments.
Herald added a project: LLVM.
================
Comment at: llvm/trunk/lib/Transforms/InstCombine/InstCombineCalls.cpp:4142
+ if (Caller->extractProfTotalWeight(W))
+ NewCS->setProfWeight(W);
----------------
Reid, any reason to make "branch_weights" here from "VP"?
Do you mind if I preserve either "branch_weights" or "VP" by exact copying?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D32041/new/
https://reviews.llvm.org/D32041
More information about the llvm-commits
mailing list