[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
Sun Nov 7 02:05:21 PST 2021


lebedev.ri updated this revision to Diff 385331.
lebedev.ri added a comment.

Only do so for loops in rotated form.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113345/new/

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/ThinLTO/X86/function_entry_count.ll
  llvm/test/Transforms/SyntheticCountsPropagation/prop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113345.385331.patch
Type: text/x-patch
Size: 10722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211107/b2530f9e/attachment-0001.bin>


More information about the llvm-commits mailing list