chapuni wrote:
@tstellar @whentojump They will make clang able to build and test clang itself
with MC/DC instrumentation.
I really hope they could be pulled. Thank you.
https://github.com/llvm/llvm-project/pull/93723
___
llvm-branch-commits mailing li
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/101102
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/101102
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
chapuni wrote:
@tru I didn't know this is editable since this was made automatically.
This is not intended for bazel changes, but the `llvm/IR` header change.
I supposed and hope individual cherry-picks (aka rebase) but it'd be okay with
squashed.
Please treat bazel changes as "cosmetic changes
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/101629
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni approved this pull request.
Let me self-approve at first :)
I've checked this functionality with running `check-llvm` on Linux. Note, `%c`
is extremely slowere than non-continuous mode, even if `%c%m8` on 48 cores.
In general, continuous mode tends to emit better sco
chapuni wrote:
The layering violation will break modules builds. I don't agree for us to
release broken headers.
https://github.com/llvm/llvm-project/pull/101102
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llv
chapuni wrote:
@ornata I haven't checked modules build (neither c++20 modules nor clang
modules).
Suppose Bazel is a good tool to detect broken dependencies. :)
https://github.com/llvm/llvm-project/pull/101102
___
llvm-branch-commits mailing list
llv
chapuni wrote:
@tru Would it be fine if @MaskRay would approve this? Or Would we wait for
@topperc ?
https://github.com/llvm/llvm-project/pull/101102
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bi
chapuni wrote:
@MaskRay @topperc Thanks!
https://github.com/llvm/llvm-project/pull/101102
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
chapuni wrote:
@tru Thanks!
https://github.com/llvm/llvm-project/pull/101102
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -2923,22 +2923,47 @@ bool Darwin::isAlignedAllocationUnavailable() const {
return TargetVersion < alignedAllocMinVersion(OS);
}
-static bool sdkSupportsBuiltinModules(const Darwin::DarwinPlatformKind
&TargetPlatform, const std::optional &SDKInfo) {
+static bool sdkSuppor
https://github.com/chapuni approved this pull request.
I wonder we couldn't amend #102335! Thanks!
https://github.com/llvm/llvm-project/pull/102517
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/m
https://github.com/chapuni approved this pull request.
https://github.com/llvm/llvm-project/pull/102335
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/82448
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/82448
>From b5ecfcc22cffdd560dc5b6a050889b6c6deacbdb Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 16 Feb 2024 00:09:41 +0900
Subject: [PATCH 1/2] [MC/DC][Coverage] Loosen the limit of NumConds from 6
---
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/82448
>From b5ecfcc22cffdd560dc5b6a050889b6c6deacbdb Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 16 Feb 2024 00:09:41 +0900
Subject: [PATCH 1/5] [MC/DC][Coverage] Loosen the limit of NumConds from 6
---
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/82448
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1979,6 +2069,9 @@ struct CounterCoverageMappingBuilder
// Track RHS True/False Decision.
const auto DecisionRHS = MCDCBuilder.back();
+MCDCBuilder.ccc(E->getLHS(), DecisionLHS);
+MCDCBuilder.ccc(E->getRHS(), DecisionRHS);
chapuni wrote:
I
@@ -723,7 +737,15 @@ struct MCDCCoverageBuilder {
if (I == CondIDs.end())
return -1;
else
- return I->second;
+ return I->second.ID;
+ }
+
+ void ccc(const Expr *CondExpr, mcdc::ConditionIDs IDs) {
+auto ID = getCondID(CondExpr);
+if (ID < 0)
+
https://github.com/chapuni commented:
I know I still have a couple of arbitrary names.
They come from my prototype.
* `MCDCCoverageBuilder::cache` -- will be "NextIDs list"
* `MCDCCoverageBuilder ::ccc(Expr, IDs)` -- just updates `cache`.
I will try to dissolve them within a few days.
https://
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/82448
>From b5ecfcc22cffdd560dc5b6a050889b6c6deacbdb Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 16 Feb 2024 00:09:41 +0900
Subject: [PATCH 1/3] [MC/DC][Coverage] Loosen the limit of NumConds from 6
---
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/82448
>From b5ecfcc22cffdd560dc5b6a050889b6c6deacbdb Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 16 Feb 2024 00:09:41 +0900
Subject: [PATCH 1/4] [MC/DC][Coverage] Loosen the limit of NumConds from 6
---
https://github.com/chapuni closed
https://github.com/llvm/llvm-project/pull/82448
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni reopened
https://github.com/llvm/llvm-project/pull/82448
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/73461
Sorry for the delay.
Feel free to correct, rephrase, and revise.
>From 3ebda6d1a89555a142ac04faab36c279353e95ae Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Mon, 27 Nov 2023 06:04:57 +0900
Subject: [PAT
chapuni wrote:
Oh, this is 1st time pull request to me.
https://github.com/llvm/llvm-project/pull/73461
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
chapuni wrote:
@tru I cannot find instructions for updating the release notes. Where can I see
them?
Do I need to create an issue, or push changes to llvm/llvm-project-release-prs ?
@arsenm @ornata I'd be happy if you would review my notes here in advance of
moving this to elsewhere, even if t
chapuni wrote:
@tru I have created llvm/llvm-project-release-prs#789, thanks!
https://github.com/llvm/llvm-project/pull/73461
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-b
Author: chapuni
Date: Tue Jan 19 18:28:22 2016
New Revision: 258265
URL: http://llvm.org/viewvc/llvm-project?rev=258265&view=rev
Log:
[r257732] Mark remote-JIT tests as XFAIL, as well as win32, for targeting
mingw32.
Modified:
llvm/branches/release_38/test/ExecutionEngine/MCJIT/remote/cross-
Author: chapuni
Date: Tue Jan 19 18:32:09 2016
New Revision: 258266
URL: http://llvm.org/viewvc/llvm-project?rev=258266&view=rev
Log:
[r257857] lli: use llvm::utostr() instead of std::to_string().
Modified:
llvm/branches/release_38/tools/lli/lli.cpp
Modified: llvm/branches/release_38/tools/l
Author: chapuni
Date: Tue May 31 19:27:34 2016
New Revision: 271354
URL: http://llvm.org/viewvc/llvm-project?rev=271354&view=rev
Log:
[r260944] clang-tools-extra/test/Unit/lit.site.cfg.in: Prune on_clone. I guess
it has been unused since r188006.
Modified:
clang-tools-extra/branches/release_
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/112730
>From 5e460594c8a2550c38c759b2e6f1c5dc4152f820 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Thu, 17 Oct 2024 22:15:12 +0900
Subject: [PATCH 1/2] [Coverage] Make additional counters available for
BranchR
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/113109
None
>From 5d19c77551c6fc585d1b15c4c2a71c3c3f99ef8a Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 18 Oct 2024 09:33:51 +0900
Subject: [PATCH] [Coverage][Single] Enable Branch coverage for loop state
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/113111
None
>From 3ea6383e2142889550f37389dfaaee81e5ae7d9c Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 15:15:03 +0900
Subject: [PATCH] [Coverage][Single] Enable Branch coverage for IfStmt
--
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/113112
None
>From ec05cc37e1177f06c9a44a1e39dadc9306cc5c68 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Mon, 21 Oct 2024 08:09:31 +0900
Subject: [PATCH] [Coverage][Single] Enable Branch coverage for SwitchStmt
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/113110
None
>From 744c5b634de08f9214c82d6fcfde7179bc4edfb0 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 14:46:07 +0900
Subject: [PATCH] [Coverage][Single] Enable Branch coverage for CondOp
--
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/113113
None
>From 16e2bb8b73bcde1c2618bb358a905a9f463c1217 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 16:24:26 +0900
Subject: [PATCH] [Coverage][Single] Enable Branch coverage for `BinLAnd`
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/113112
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/113109
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/113110
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/113111
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/113113
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/112730
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/110972
>From aacb50ddf87d96b4a0644c7ef5d0a86dc94f069b Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Wed, 2 Oct 2024 23:25:52 +0900
Subject: [PATCH 1/2] [Coverage] Make SingleByteCoverage work consistent to
merg
@@ -952,7 +952,7 @@ void InstrProfRecord::merge(InstrProfRecord &Other,
uint64_t Weight,
Value = getInstrMaxCountValue();
Overflowed = true;
}
-Counts[I] = Value;
chapuni wrote:
I didn't imagine use cases in PGO. I'll leave it unchanged.
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113113
>From 16e2bb8b73bcde1c2618bb358a905a9f463c1217 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 16:24:26 +0900
Subject: [PATCH 1/2] [Coverage][Single] Enable Branch coverage for `BinLAnd`
a
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113110
>From 744c5b634de08f9214c82d6fcfde7179bc4edfb0 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 14:46:07 +0900
Subject: [PATCH 1/3] [Coverage][Single] Enable Branch coverage for CondOp
---
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113109
>From 5d19c77551c6fc585d1b15c4c2a71c3c3f99ef8a Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 18 Oct 2024 09:33:51 +0900
Subject: [PATCH 1/2] [Coverage][Single] Enable Branch coverage for loop
statem
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113112
>From ec05cc37e1177f06c9a44a1e39dadc9306cc5c68 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Mon, 21 Oct 2024 08:09:31 +0900
Subject: [PATCH 1/5] [Coverage][Single] Enable Branch coverage for SwitchStmt
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/112730
>From 5e460594c8a2550c38c759b2e6f1c5dc4152f820 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Thu, 17 Oct 2024 22:15:12 +0900
Subject: [PATCH 1/4] [Coverage] Make additional counters available for
BranchR
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113112
>From ec05cc37e1177f06c9a44a1e39dadc9306cc5c68 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Mon, 21 Oct 2024 08:09:31 +0900
Subject: [PATCH] [Coverage][Single] Enable Branch coverage for SwitchStmt
---
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/112730
>From 5e460594c8a2550c38c759b2e6f1c5dc4152f820 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Thu, 17 Oct 2024 22:15:12 +0900
Subject: [PATCH 1/4] [Coverage] Make additional counters available for
BranchR
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113113
>From 16e2bb8b73bcde1c2618bb358a905a9f463c1217 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 16:24:26 +0900
Subject: [PATCH 1/2] [Coverage][Single] Enable Branch coverage for `BinLAnd`
a
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/110972
- Round `Counts` as 1/0
- Confirm both `ExecutionCount` and `AltExecutionCount` are in range.
>From aacb50ddf87d96b4a0644c7ef5d0a86dc94f069b Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Wed, 2 Oct 2024
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/112730
`getBranchCounterPair()` allocates an additional Counter to SkipPath in
`SingleByteCoverage`.
`IsCounterEqual()` calculates the comparison with rewinding counter
replacements.
`NumRegionCounters` is updated t
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/112730
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113110
>From 744c5b634de08f9214c82d6fcfde7179bc4edfb0 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 14:46:07 +0900
Subject: [PATCH 1/4] [Coverage][Single] Enable Branch coverage for CondOp
---
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113111
>From 3ea6383e2142889550f37389dfaaee81e5ae7d9c Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 15:15:03 +0900
Subject: [PATCH 1/2] [Coverage][Single] Enable Branch coverage for IfStmt
---
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113113
>From 16e2bb8b73bcde1c2618bb358a905a9f463c1217 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 16:24:26 +0900
Subject: [PATCH 1/3] [Coverage][Single] Enable Branch coverage for `BinLAnd`
a
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/110972
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113109
>From 5d19c77551c6fc585d1b15c4c2a71c3c3f99ef8a Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 18 Oct 2024 09:33:51 +0900
Subject: [PATCH 1/3] [Coverage][Single] Enable Branch coverage for loop
statem
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/110972
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113112
>From ec05cc37e1177f06c9a44a1e39dadc9306cc5c68 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Mon, 21 Oct 2024 08:09:31 +0900
Subject: [PATCH 1/2] [Coverage][Single] Enable Branch coverage for SwitchStmt
chapuni wrote:
@evodius96 Thanks and sorry for disturbing your vacation!
No problem, this is not urgent.
Please be patient while I'll be pushing more requests (and possibly issues).
See also #121197
https://github.com/llvm/llvm-project/pull/121195
_
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/121194
>From 273eea73c158acbf7140bd599554b2ba02d88097 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 27 Dec 2024 16:14:24 +0900
Subject: [PATCH] llvm-cov: Introduce `--merge-instantiations=`
---
.../Profil
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/121195
>From 36b4aaf0248c85c3e3cf621f75b26e2734efafba Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 27 Dec 2024 15:31:05 +0900
Subject: [PATCH 1/4] [Coverage] Make `MCDCRecord::Folded` as `[false/true]`
wi
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/121195
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/121192
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -1193,11 +1206,26 @@ std::pair
CodeGenPGO::getIsCounterPair(const Stmt *S) const {
}
void CodeGenPGO::emitCounterSetOrIncrement(CGBuilderTy &Builder, const Stmt *S,
+ bool UseSkipPath, bool UseBoth,
@@ -1193,11 +1206,26 @@ std::pair
CodeGenPGO::getIsCounterPair(const Stmt *S) const {
}
void CodeGenPGO::emitCounterSetOrIncrement(CGBuilderTy &Builder, const Stmt *S,
+ bool UseSkipPath, bool UseBoth,
@@ -112,6 +112,7 @@ class CodeGenPGO {
public:
std::pair getIsCounterPair(const Stmt *S) const;
chapuni wrote:
I couldn't name better.
```
return {I->second.Executed.hasValue(), I->second.Skipped.hasValue()};
```
It is defined in #112724.
https://github.com
@@ -638,6 +638,10 @@ static unsigned getMaxCounterID(const
CounterMappingContext &Ctx,
unsigned MaxCounterID = 0;
for (const auto &Region : Record.MappingRegions) {
MaxCounterID = std::max(MaxCounterID, Ctx.getMaxCounterID(Region.Count));
+if (Region.Kind == Counte
@@ -1632,11 +1632,17 @@ class CodeGenFunction : public CodeGenTypeCache {
/// Increment the profiler's counter for the given statement by \p StepV.
/// If \p StepV is null, the default increment is 1.
void incrementProfileCounter(const Stmt *S, llvm::Value *StepV = nullpt
@@ -940,15 +939,35 @@ struct CounterCoverageMappingBuilder
std::pair getBranchCounterPair(const Stmt *S,
Counter ParentCnt) {
-Counter ExecCnt = getRegionCounter(S);
-return {ExecCnt, Builder.subtract(ParentCnt, Exec
@@ -864,8 +864,7 @@ void CodeGenFunction::EmitIfStmt(const IfStmt &S) {
// If the skipped block has no labels in it, just emit the executed block.
// This avoids emitting dead code and simplifies the CFG substantially.
if (S.isConstexpr() || !ContainsLabel(Skipped))
@@ -1400,14 +1375,12 @@ CodeGenFunction::EmitCXXForRangeStmt(const
CXXForRangeStmt &S,
if (ExitBlock != LoopExit.getBlock()) {
EmitBlock(ExitBlock);
+incrementProfileCounter(true, &S);
chapuni wrote:
Done. See also #120930.
https://github.com/llvm
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/120930
>From 5e460594c8a2550c38c759b2e6f1c5dc4152f820 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Thu, 17 Oct 2024 22:15:12 +0900
Subject: [PATCH 01/10] [Coverage] Make additional counters available for
Branc
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/121192
>From c1678ea160892c7b0912d9521866073a6b2ff839 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 27 Dec 2024 16:11:10 +0900
Subject: [PATCH 1/2] llvm-cov: Use `getCoverageForFile()`
---
.../ProfileData
@@ -23,6 +23,16 @@ using namespace llvm;
namespace {
+template
+bool IsSummaryEmpty(const SummaryTy &Report, const CoverageViewOptions &Opts) {
chapuni wrote:
Done.
https://github.com/llvm/llvm-project/pull/121192
__
@@ -1432,6 +1434,8 @@ CoverageData
CoverageMapping::getCoverageForFile(StringRef Filename) const {
getImpreciseRecordIndicesForFilename(Filename);
for (unsigned RecordIndex : RecordIndices) {
const FunctionRecord &Function = Functions[RecordIndex];
+if (Filtere
chapuni wrote:
> > "Merge" facilities with std::max are removed as well for now.
>
> why?
They will be reintroduced later, "Any" in #121194 .
To be honest, I didn't imagine the way to preserve the old behavior.
For now, this change introduces "Merge" behavior partially.
https://github.com/llvm
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113113
>From 16e2bb8b73bcde1c2618bb358a905a9f463c1217 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 16:24:26 +0900
Subject: [PATCH 1/3] [Coverage][Single] Enable Branch coverage for `BinLAnd`
a
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113109
>From 5d19c77551c6fc585d1b15c4c2a71c3c3f99ef8a Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 18 Oct 2024 09:33:51 +0900
Subject: [PATCH 1/4] [Coverage][Single] Enable Branch coverage for loop
statem
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113110
>From 744c5b634de08f9214c82d6fcfde7179bc4edfb0 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 14:46:07 +0900
Subject: [PATCH 1/4] [Coverage][Single] Enable Branch coverage for CondOp
---
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113111
>From 3ea6383e2142889550f37389dfaaee81e5ae7d9c Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 15:15:03 +0900
Subject: [PATCH 1/3] [Coverage][Single] Enable Branch coverage for IfStmt
---
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113112
>From ec05cc37e1177f06c9a44a1e39dadc9306cc5c68 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Mon, 21 Oct 2024 08:09:31 +0900
Subject: [PATCH 1/2] [Coverage][Single] Enable Branch coverage for SwitchStmt
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/110966
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/110966
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/120930
>From 5e460594c8a2550c38c759b2e6f1c5dc4152f820 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Thu, 17 Oct 2024 22:15:12 +0900
Subject: [PATCH 1/8] [Coverage] Make additional counters available for
BranchR
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/121192
`FunctionCoverageSummary::get()` is removed since it was used only from
`SingleFileReport`. "Merge" facilities with `std::max` are removed as well for
now. They will be re-introduced later.
For file indices, s
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/121194
`MergeStrategy` has options:
- Merge: (default) Calculate metrics with merged `CoverageData`.
- Any: Take `std::max` for each counter. This will show "Covered if any
instances are satisfied".
- All: Take `std::
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/121195
This makes easier to merge `MCDCRecord`s in later stages.
Depends on: #120842, #110966, #121188, #121190
>From 3abe2ac361822bf6513e5f3ef9fead37842af862 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri,
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/121196
Independence pairs are recalculated after merging `TestVectors`.
This introduces `MCDCRecord::BitmayByCond`. It makes `ExecTestVectors`
reassociated with Bitmap index. Or it would require importing whole
`Test
https://github.com/chapuni created
https://github.com/llvm/llvm-project/pull/121191
None
>From 92bf1c1eeaa79a1f9a6d410744d38dd5bf342040 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 27 Dec 2024 15:44:28 +0900
Subject: [PATCH] llvm-cov: Emit RegionCoverage based on
`CoverageData::S
https://github.com/chapuni edited
https://github.com/llvm/llvm-project/pull/121191
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113113
>From 16e2bb8b73bcde1c2618bb358a905a9f463c1217 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 16:24:26 +0900
Subject: [PATCH 1/3] [Coverage][Single] Enable Branch coverage for `BinLAnd`
a
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113109
>From 5d19c77551c6fc585d1b15c4c2a71c3c3f99ef8a Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Fri, 18 Oct 2024 09:33:51 +0900
Subject: [PATCH 1/4] [Coverage][Single] Enable Branch coverage for loop
statem
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113113
>From 16e2bb8b73bcde1c2618bb358a905a9f463c1217 Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 16:24:26 +0900
Subject: [PATCH 1/3] [Coverage][Single] Enable Branch coverage for `BinLAnd`
a
https://github.com/chapuni updated
https://github.com/llvm/llvm-project/pull/113111
>From 3ea6383e2142889550f37389dfaaee81e5ae7d9c Mon Sep 17 00:00:00 2001
From: NAKAMURA Takumi
Date: Sun, 20 Oct 2024 15:15:03 +0900
Subject: [PATCH 1/3] [Coverage][Single] Enable Branch coverage for IfStmt
---
1 - 100 of 179 matches
Mail list logo