[llvm] [llvm-cov] Simplify and optimize MC/DC computation (PR #79727)

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 27 23:09:00 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);
----------------
chapuni wrote:

I think default values are acceptable here.

https://github.com/llvm/llvm-project/pull/79727


More information about the llvm-commits mailing list