[PGO] Do not create block count annotations when all weights are 0,
avoiding an assertion. A BB with a nonzero count, whose successor blocks all have 0 counts, could cause an assertion. Don't create any branch weights in this case. Reviewed By: xur Differential Revision: https://reviews.llvm.org/D134203
parent
1532be98
Please register or sign in to comment