[PATCH] D22892: Codegen: MachineBlockPlacement Improve probability layout.

Kyle Butt via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 10:44:27 PDT 2016


iteratee updated this revision to Diff 66146.
iteratee added a comment.

Added fixes for 4 affected tests. Since they weren't testing layout, I added branch weights to get the layout that was produced before. In 3 cases, this was simply equal-weighting the branches, and in the 4th the expected layout required slight biasing.


https://reviews.llvm.org/D22892

Files:
  lib/CodeGen/MachineBlockPlacement.cpp
  test/CodeGen/AArch64/arm64-andCmpBrToTBZ.ll
  test/CodeGen/AArch64/compare-branch.ll
  test/CodeGen/AArch64/logical_shifted_reg.ll
  test/CodeGen/SystemZ/tdc-06.ll
  test/CodeGen/X86/block-placement.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22892.66146.patch
Type: text/x-patch
Size: 13016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160729/78020e39/attachment.bin>


More information about the llvm-commits mailing list