[PATCH] D113345: [WIP][BPI] `calcEstimatedHeuristics()`: symmetrically with loop exiting edge, scale loop enter edge weight by trip count
Evgeniy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 7 23:01:59 PST 2021
ebrevnov added a comment.
It seems that the new heuristic is applied not only to loops in rotated form. For example "test_cold_loop" or "test13".
In general we should decrease probability to take particular back edge proportionally to number of added exits. For example if number of exits equal to number of predicted iterations then each particular exit should be 50/50. But this is not supported yet anyway..
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113345/new/
https://reviews.llvm.org/D113345
More information about the llvm-commits
mailing list