[PATCH] D17864: [PGO] Promote indirect calls to conditional direct calls with value-profile
Rong Xu via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 25 14:49:46 PDT 2016
xur updated this revision to Diff 51689.
xur added a comment.
This patch uses the updated InstrProf interface in patch http://reviews.llvm.org/D17895.
A few more unit tests also added.
This also fixed a regression in last patch: it seems the "std::next()" is not working I thought here:
NewInst = new BitCastInst(NewInst, CallRetType, "", std::next(NewInst));
It would not return the next instruction. This is fixed in this patch.
Again, this patch depends on http://reviews.llvm.org/D17895.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 34731 bytes
Desc: not available
More information about the llvm-commits