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

Cong Hou congh at google.com
Wed Aug 5 15:54:16 PDT 2015


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10979.31408.patch
Type: text/x-patch
Size: 17943 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150805/862a807d/attachment.bin>


More information about the llvm-commits mailing list