[PATCH] D79485: [BPI] Improve static heuristics for "cold" paths.
Evgeniy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 06:23:57 PDT 2020
ebrevnov updated this revision to Diff 262860.
ebrevnov added a comment.
Number of changes:
1. Previous version had an issue and was not able to propagate estimated weight from loop exits (in case more than 1 exit) to its entries. To fix that we introduce LoopData structure and trakc weight for loops explicitly.
2. Returned old behavior for 'invoke' heuristics to dominate 'cold' heuristics.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79485/new/
https://reviews.llvm.org/D79485
Files:
llvm/include/llvm/Analysis/BranchProbabilityInfo.h
llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h
llvm/lib/Analysis/BranchProbabilityInfo.cpp
llvm/lib/Analysis/OptimizationRemarkEmitter.cpp
llvm/lib/Transforms/Scalar/LoopPredication.cpp
llvm/test/Analysis/BlockFrequencyInfo/redundant_edges.ll
llvm/test/Analysis/BranchProbabilityInfo/basic.ll
llvm/test/Analysis/BranchProbabilityInfo/deopt-intrinsic.ll
llvm/test/Analysis/BranchProbabilityInfo/deopt-invoke.ll
llvm/test/Analysis/BranchProbabilityInfo/loop.ll
llvm/test/Analysis/BranchProbabilityInfo/noreturn.ll
llvm/test/Analysis/BranchProbabilityInfo/unreachable.ll
llvm/test/CodeGen/ARM/ifcvt-branch-weight-bug.ll
llvm/test/CodeGen/ARM/sub-cmp-peephole.ll
llvm/test/CodeGen/PowerPC/pr36292.ll
llvm/test/CodeGen/PowerPC/sms-cpy-1.ll
llvm/test/CodeGen/SPARC/missinglabel.ll
llvm/test/CodeGen/SystemZ/debuginstr-cgp.mir
llvm/test/CodeGen/X86/2008-04-17-CoalescerBug.ll
llvm/test/CodeGen/X86/block-placement.ll
llvm/test/CodeGen/X86/misched_phys_reg_assign_order.ll
llvm/test/CodeGen/X86/pr27501.ll
llvm/test/CodeGen/X86/pr37916.ll
llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79485.262860.patch
Type: text/x-patch
Size: 88482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200508/a01512ff/attachment.bin>
More information about the llvm-commits
mailing list