[PATCH] D49974: [GuardWidening] Widen guards with conditions of frequently taken dominated branches
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 30 21:06:39 PDT 2018
mkazantsev added inline comments.
================
Comment at: lib/Transforms/Scalar/GuardWidening.cpp:284
+ BPI->getEdgeProbability(BB, 0U) >= *LikelyTaken)
+ Changed |= eliminateGuardViaWidening(BI, DFI, GuardsInBlock);
}
----------------
fedor.sergeev wrote:
> What about adding some STATISTICS here?
> Would be useful for experiments with this new mode...
Will do.
https://reviews.llvm.org/D49974
More information about the llvm-commits
mailing list