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

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 10:34:10 PDT 2015


Hi Duncan

Could you please take a look at this patch. It is refined again and now
should look better.

Thanks!

Cong

---------- Forwarded message ----------
From: Cong Hou <congh at google.com>
Date: Mon, Aug 31, 2015 at 11:14 AM
Subject: Re: [PATCH] D10979: Update the branch weight metadata in
JumpThreading pass.
To: congh at google.com, chandlerc at gmail.com, davidxl at google.com,
dexonsmith at apple.com
Cc: dnovillo at google.com, llvm-commits at lists.llvm.org


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

Update the patch by adding the definition of
MachineBranchProbabilityInfo::normalizeEdgeWeights().


http://reviews.llvm.org/D10979

Files:
  include/llvm/Analysis/BlockFrequencyInfo.h
  include/llvm/Analysis/BlockFrequencyInfoImpl.h
  include/llvm/CodeGen/MachineBranchProbabilityInfo.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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150901/329d2552/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10979.33602.patch
Type: text/x-patch
Size: 17647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150901/329d2552/attachment.bin>


More information about the llvm-commits mailing list