[PATCH] D113345: [WIP][BPI] `calcEstimatedHeuristics()`: symmetrically with loop exiting edge, scale loop enter edge weight by trip count

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 6 06:06:11 PDT 2021


lebedev.ri created this revision.
lebedev.ri added reviewers: ebrevnov, yrouban, bin.cheng.
lebedev.ri added a project: LLVM.
Herald added subscribers: wenlei, pengfei, hiraditya.
lebedev.ri requested review of this revision.

I don't really know this area of LLVM, and probably not equipped to drive this the end.
This is motivated by D113342 <https://reviews.llvm.org/D113342>, but implemented in a more general manner.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113345

Files:
  llvm/lib/Analysis/BranchProbabilityInfo.cpp
  llvm/test/Analysis/BranchProbabilityInfo/basic.ll
  llvm/test/Analysis/BranchProbabilityInfo/loop.ll
  llvm/test/Analysis/BranchProbabilityInfo/noreturn.ll
  llvm/test/CodeGen/X86/x86-shrink-wrapping.ll
  llvm/test/Transforms/ConstantHoisting/AArch64/consthoist-unreachable.ll
  llvm/test/Transforms/PGOProfile/bfi_verification.ll
  llvm/test/Transforms/SyntheticCountsPropagation/prop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113345.385267.patch
Type: text/x-patch
Size: 16124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211106/2d9bcc73/attachment.bin>


More information about the llvm-commits mailing list