[PATCH] D14973: Replace all weight-based interfaces in MBB with probability-based interfaces, and update all uses of old interfaces.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 13:43:08 PST 2015


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

Fixed a bug.


http://reviews.llvm.org/D14973

Files:
  include/llvm/Analysis/BranchProbabilityInfo.h
  include/llvm/CodeGen/MachineBasicBlock.h
  include/llvm/CodeGen/MachineBranchProbabilityInfo.h
  include/llvm/Support/BranchProbability.h
  lib/Analysis/BranchProbabilityInfo.cpp
  lib/CodeGen/BranchFolding.cpp
  lib/CodeGen/IfConversion.cpp
  lib/CodeGen/MIRParser/MIParser.cpp
  lib/CodeGen/MIRPrinter.cpp
  lib/CodeGen/MachineBasicBlock.cpp
  lib/CodeGen/MachineBlockPlacement.cpp
  lib/CodeGen/MachineBranchProbabilityInfo.cpp
  lib/CodeGen/TailDuplication.cpp
  lib/Support/BranchProbability.cpp
  lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  lib/Target/ARM/ARMConstantIslandPass.cpp
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/Hexagon/HexagonCFGOptimizer.cpp
  lib/Target/Mips/MipsLongBranch.cpp
  test/CodeGen/ARM/ifcvt-branch-weight-bug.ll
  test/CodeGen/ARM/ifcvt-branch-weight.ll
  test/CodeGen/ARM/ifcvt-iter-indbr.ll
  test/CodeGen/ARM/tail-merge-branch-weight.ll
  test/CodeGen/ARM/taildup-branch-weight.ll
  test/CodeGen/Generic/MachineBranchProb.ll
  test/CodeGen/Hexagon/ifcvt-edge-weight.ll
  test/CodeGen/MIR/X86/newline-handling.mir
  test/CodeGen/MIR/X86/successor-basic-blocks-weights.mir
  test/CodeGen/MIR/X86/successor-basic-blocks.mir
  test/CodeGen/X86/MachineBranchProb.ll
  test/CodeGen/X86/catchpad-weight.ll
  test/CodeGen/X86/stack-protector-weight.ll
  test/CodeGen/X86/switch-edge-weight.ll
  test/CodeGen/X86/switch-jump-table.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14973.41181.patch
Type: text/x-patch
Size: 67393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151125/844f9522/attachment.bin>


More information about the llvm-commits mailing list