[PATCH] D31701: [BPI] Refactor post domination calculation and simple fix for ColdCall
Serguei Katkov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 5 01:59:54 PDT 2017
skatkov created this revision.
Collection of PostDominatedByUnreachable and PostDominatedByColdCall have been split
out of heuristics itself. Update of the data happens now for each basic block (before update
for PostDominatedByColdCall might be skipped if unreachable or matadata heuristic
handled this basic block).
This separation allows re-ordering of heuristics without loosing the post-domination information.
https://reviews.llvm.org/D31701
Files:
include/llvm/Analysis/BranchProbabilityInfo.h
lib/Analysis/BranchProbabilityInfo.cpp
test/Analysis/BranchProbabilityInfo/basic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31701.94175.patch
Type: text/x-patch
Size: 9003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170405/ebbdb5d6/attachment.bin>
More information about the llvm-commits
mailing list