[PATCH] D62700: [PGO] Handle cases of non-instrument BBs

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 6 11:14:03 PDT 2019


davidxl added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp:1090
+  }
+  ProfileCountSize = CountFromProfile.size();
+  CountPosition = I;
----------------
The change seems pretty substantial.  Is it enough just do one pass and set all edges not already with a valid count to zero count?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62700/new/

https://reviews.llvm.org/D62700





More information about the llvm-commits mailing list