[llvm] [Coverage] Rework Decision/Expansion/Branch (PR #78969)

NAKAMURA Takumi via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 04:55:38 PST 2024


================
@@ -662,23 +724,39 @@ Error CoverageMapping::loadFunctionRecord(
     }
     Function.pushRegion(Region, *ExecutionCount, *AltExecutionCount);
 
+    if (Region.Kind == CounterMappingRegion::ExpansionRegion) {
+      for (auto &Decision : reverse(Decisions)) {
----------------
chapuni wrote:

I have rewritten whole things in `DecisionRow`.

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


More information about the llvm-commits mailing list