[PATCH] D13745: Replace all uses of branch weights by branch probabilities on machine code level passes.

Cong Hou via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 11:01:51 PDT 2015


congh updated this revision to Diff 37499.
congh marked an inline comment as done.
congh added a comment.

Update the patch according to silvas and bruno's comments.


http://reviews.llvm.org/D13745

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/SelectionDAG/FastISel.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
  lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  lib/CodeGen/TailDuplication.cpp
  lib/Target/AArch64/AArch64FastISel.cpp
  lib/Target/Mips/MipsDelaySlotFiller.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/X86/X86FrameLowering.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/successor-basic-blocks-weights.mir
  test/CodeGen/PowerPC/sjlj.ll
  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: D13745.37499.patch
Type: text/x-patch
Size: 103061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151015/428d220e/attachment-0001.bin>


More information about the llvm-commits mailing list