[PATCH] D54212: [PGO] early exit if all count values are zero

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 09:13:30 PST 2018


davidxl added inline comments.


================
Comment at: lib/Transforms/Instrumentation/PGOInstrumentation.cpp:1485
       continue;
+    if (AllZeros) {
+      if (Func.getProgramMaxCount() != 0)
----------------
Is function entry annotated ?


https://reviews.llvm.org/D54212





More information about the llvm-commits mailing list