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

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 14:15:13 PDT 2015


congh updated this revision to Diff 33467.
congh marked 3 inline comments as done.
congh added a comment.

Update the patch by using edge frequencies to update edge weights.


http://reviews.llvm.org/D10979

Files:
  include/llvm/Analysis/BlockFrequencyInfo.h
  include/llvm/Analysis/BlockFrequencyInfoImpl.h
  include/llvm/Support/BlockFrequency.h
  lib/Analysis/BlockFrequencyInfo.cpp
  lib/Analysis/BlockFrequencyInfoImpl.cpp
  lib/Analysis/BranchProbabilityInfo.cpp
  lib/Support/BlockFrequency.cpp
  lib/Transforms/Scalar/JumpThreading.cpp
  test/Transforms/JumpThreading/update-edge-weight.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10979.33467.patch
Type: text/x-patch
Size: 16215 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150828/fcaea67b/attachment.bin>


More information about the llvm-commits mailing list