[PATCH] D14851: Add Branch Hints for Highly Biased Branches on PPC

Thomas Jablin via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 17:07:12 PST 2015


tjablin created this revision.
tjablin added reviewers: kbarton, hfinkel.
tjablin added a subscriber: llvm-commits.

This branch adds hints for highly biased branches on the PPC architecture. Even in absence of profiling information, LLVM will mark code reaching unreachable terminators and other exceptional control flow constructs as highly unlikely to be reached.

http://reviews.llvm.org/D14851

Files:
  lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h
  lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  lib/Target/PowerPC/PPCInstrInfo.cpp
  test/CodeGen/PowerPC/branch-hint.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14851.40721.patch
Type: text/x-patch
Size: 6953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151120/12576b9c/attachment.bin>


More information about the llvm-commits mailing list