[PATCH] D126586: [InstrProf][WIP] Implement boolean counters in coverage

David Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 12 12:13:13 PDT 2022


davidxl added a comment.

For coverage mode, why using 'incrementProfileCounter'?  Should it be set to '1' instead?  Also is the 'or' expression needed? The expression can be folded to either zero or 1.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126586



More information about the cfe-commits mailing list