[PATCH] D41059: [PGO] MST min edge selection heuristic to ensure non-zero entry count
Rong Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 15 15:30:18 PST 2017
xur accepted this revision.
xur added a comment.
This revision is now accepted and ready to land.
Look good to me.
================
Comment at: lib/Transforms/Instrumentation/CFGMST.h:184
+
+ if (EntryInWeight >= MaxExitOutWeight &&
+ EntryInWeight * 2 < MaxExitOutWeight * 3) {
----------------
NIT: Should we remove this also. This is the same as the removed condition.
https://reviews.llvm.org/D41059
More information about the llvm-commits
mailing list