[llvm] [llvm-cov] Simplify and optimize MC/DC computation (PR #79727)
Alan Phipps via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 29 09:22:23 PST 2024
================
@@ -458,7 +395,7 @@ class MCDCRecordProcessor {
MCDCRecord::TestVector TV(NumConditions, MCDCRecord::MCDC_DontCare);
// Use the base test vector to build the list of all possible test vectors.
- buildTestVector(TV);
+ buildTestVector(TV, 1, 0);
----------------
evodius96 wrote:
Minor nit: I wonder if it would be of some value to include a very brief comment that explains what the initial values mean? Up to you.
https://github.com/llvm/llvm-project/pull/79727
More information about the llvm-commits
mailing list