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

Cong Hou congh at google.com
Mon Jul 20 16:49:18 PDT 2015


congh updated this revision to Diff 30214.
congh added a comment.

Fix precision loss problem when calculating new edge weights.


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.30214.patch
Type: text/x-patch
Size: 17077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150720/4bb6ff28/attachment.bin>


More information about the llvm-commits mailing list