[PATCH] D10979: Update the branch weight metadata in JumpThreading pass.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 12:26:37 PDT 2015


On Wed, Aug 5, 2015 at 11:09 PM, Xinliang David Li <davidxl at google.com> wrote:
> As discussed, there is another more complicated jump-threading related
> profile updating bug (also involving loop rotation). Do you plan to
> address that in a different patch?

Yes. That issue is more difficult to tackle. I will produce another
patch to handle it.

>
> David
>
> On Wed, Aug 5, 2015 at 3:54 PM, Cong Hou <congh at google.com> wrote:
>> congh updated this revision to Diff 31408.
>> congh added a comment.
>>
>> Update the patch by normalizing a list of weights of uint64_t type using MachineBranchProbabilityInfo::normalizeEdgeWeights().
>>
>> Please take a look.
>>
>>
>> http://reviews.llvm.org/D10979
>>
>> Files:
>>   include/llvm/Analysis/BlockFrequencyInfo.h
>>   include/llvm/Analysis/BlockFrequencyInfoImpl.h
>>   include/llvm/Analysis/BranchProbabilityInfo.h
>>   lib/Analysis/BlockFrequencyInfo.cpp
>>   lib/Analysis/BlockFrequencyInfoImpl.cpp
>>   lib/Analysis/BranchProbabilityInfo.cpp
>>   lib/Transforms/Scalar/JumpThreading.cpp
>>   test/Transforms/JumpThreading/update-edge-weight.ll
>>


More information about the llvm-commits mailing list