@@ -544,6 +545,35 @@ class QualifiedTemplateName : public llvm::FoldingSetNode {
}
};
+struct IdentifierOrOverloadedOperator {
+ IdentifierOrOverloadedOperator() = default;
+ IdentifierOrOverloadedOperator(const IdentifierInfo *II);
+ IdentifierOrOverloadedOperator(Overlo
https://github.com/zyn0217 approved this pull request.
Thanks for the improvement.
https://github.com/llvm/llvm-project/pull/133610
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
@@ -587,12 +587,12 @@ bool Parser::ParseOptionalCXXScopeSpecifier(
<< II.getName()
<< FixItHint::CreateInsertion(Tok.getLocation(), "template ");
}
-
-SourceLocation TemplateNameLoc = ConsumeToken();
+ConsumeToken();
@@ -124,6 +124,31 @@ void SubstTemplateTemplateParmPackStorage::Profile(
ID.AddBoolean(Final);
}
+IdentifierOrOverloadedOperator::IdentifierOrOverloadedOperator(
+const IdentifierInfo *II)
+: PtrOrOp(reinterpret_cast(II)) {
+ static_assert(NUM_OVERLOADED_OPERATORS <
@@ -959,26 +862,12 @@ Type mlir::LLVM::getVectorType(Type elementType,
}
Type mlir::LLVM::getFixedVectorType(Type elementType, unsigned numElements) {
Dinistro wrote:
I guess that we can burn out these API's in a subsequent step? Maybe we should
mark them as
@@ -897,8 +821,7 @@ bool mlir::LLVM::isCompatibleVectorType(Type type) {
Type mlir::LLVM::getVectorElementType(Type type) {
return llvm::TypeSwitch(type)
- .Case(
- [](auto ty) { return ty.getElementType(); })
+ .Case([](auto ty) { return ty.getElementType
@@ -911,41 +834,21 @@ llvm::ElementCount mlir::LLVM::getVectorNumElements(Type
type) {
return llvm::ElementCount::getScalable(ty.getNumElements());
Dinistro wrote:
This `TypeSwitch` is also no longer too useful.
https://github.com/llvm/llvm-project/
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
Author: Matt Arsenault (arsenm)
Changes
The current API doesn't have a way to unset it. The query returns
an optional, but the set doesn't. Alternatively I could switch the
set to also use optional.
---
Full diff: https://github.com/llvm/llvm-pr
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/133857
Seems to work correctly but wasn't tested.
>From 4182da49f37add4eff4c2e3acd32a609ef985338 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Tue, 1 Apr 2025 11:48:22 +0700
Subject: [PATCH] llvm-reduce: Add test
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/133857
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
arsenm wrote:
> [!WARNING]
> This pull request is not mergeable via GitHub because a downstack PR is
> open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/133857?utm_source=stack-comment-downstack-mergeability-warning";
zhaoqi5 wrote:
> LGTM.
>
> Note: test/CodeGen is probably not the best place for such tests.
> `test/MC/CSKY/relocation-specifier.s` contains a nice example and tests
> multiple relocations at the same time.
Modified in https://github.com/llvm/llvm-project/pull/133839, thanks.
https://github
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/133854
I assume this was a leftover from typed pointers. It's easier to replace
the non-callee uses, they are just replacable pointer values.
>From 83ba71fe5eff72cd5f08b41a848c44b93dea3de9 Mon Sep 17 00:00:00 2001
From:
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/133842
After replacing the branch condition, this was calling simplifyCFG to
perform the cleanups of the branch. This is far too heavy of a hammer.
We do not want all of the extra optimizations in simplifyCFG, and
this c
zhaoqi5 wrote:
> > LGTM.
> > Note: test/CodeGen is probably not the best place for such tests.
> > `test/MC/CSKY/relocation-specifier.s` contains a nice example and tests
> > multiple relocations at the same time.
>
> Will this be fixed in the main branch?
Thanks. I have open a new PR (https:
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/133813
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 5f81501485b6c9d3e6a35fd382e1c10634e9658c
b11c7631712479056bfd588c5031c065a53466fc --e
llvmbot wrote:
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Mariusz Borsa (wrotki)
Changes
The malloc_zone.cpp test currently fails on Darwin hosts, in SanitizerCommon
tests with lsan enabled.
Need to XFAIL this test to buy time to investigate this failure. Also
we're trying to bri
tstellar wrote:
This has some CI test faliures.
https://github.com/llvm/llvm-project/pull/133082
___
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/wrotki edited
https://github.com/llvm/llvm-project/pull/133832
___
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/llvmbot created
https://github.com/llvm/llvm-project/pull/133836
Backport 725a7b664b92cd2e884806de5a08900b43d43cce
d055e58334a91dcbaee22eb87bcdae85a1f33cd4
Requested by: @SixWeining
>From e7f024dd3ae770af9f766e4b86a43b2df9e6dc1a Mon Sep 17 00:00:00 2001
From: wanglei
Date:
https://github.com/wrotki updated
https://github.com/llvm/llvm-project/pull/133832
>From ca129ea5996c2f2b99868bccd2246690a65b6c9e Mon Sep 17 00:00:00 2001
From: Mariusz Borsa
Date: Mon, 31 Mar 2025 17:06:41 -0700
Subject: [PATCH] [Sanitizers][Darwin][Test] XFAIL malloc_zone.cpp
The malloc_zone
https://github.com/wrotki closed
https://github.com/llvm/llvm-project/pull/133006
___
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/wrotki created
https://github.com/llvm/llvm-project/pull/133832
The malloc_zone.cpp test currently fails on Darwin hosts, in SanitizerCommon
tests with lsan enabled.
Need to XFAIL this test to buy time to investigate this failure. Also
we're trying to bring the number of tes
https://github.com/llvm-beanz requested changes to this pull request.
We cannot introduce BSD-licensed code to compiler-rt. Please see [my comment
for more
details](https://github.com/llvm/llvm-project/pull/133530#discussion_r2021952691).
https://github.com/llvm/llvm-project/pull/133530
__
llvmbot wrote:
@llvm/pr-subscribers-github-workflow
Author: None (llvmbot)
Changes
Backport 7793bae97d2bad36d870c6df438a6fc034f15112
Requested by: @tstellar
---
Full diff: https://github.com/llvm/llvm-project/pull/133813.diff
2 Files Affected:
- (modified) .github/workflows/libclang-a
https://github.com/boomanaiden154 approved this pull request.
https://github.com/llvm/llvm-project/pull/133813
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
llvmbot wrote:
@boomanaiden154 What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/133813
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/133813
Backport 7793bae97d2bad36d870c6df438a6fc034f15112
Requested by: @tstellar
>From 2f6c5807ca7e8263c634eee22a8a353994011dc9 Mon Sep 17 00:00:00 2001
From: Tom Stellard
Date: Mon, 31 Mar 2025 15:30:05 -0700
Subjec
https://github.com/snehasish updated
https://github.com/llvm/llvm-project/pull/132433
>From 4680029efc3f4e350f7a07033088a9925b9300d7 Mon Sep 17 00:00:00 2001
From: Snehasish Kumar
Date: Fri, 21 Mar 2025 17:00:38 +
Subject: [PATCH] Update tests, apply clang-tidy suggestions
---
llvm/lib/Tr
https://github.com/snehasish updated
https://github.com/llvm/llvm-project/pull/132433
>From 4680029efc3f4e350f7a07033088a9925b9300d7 Mon Sep 17 00:00:00 2001
From: Snehasish Kumar
Date: Fri, 21 Mar 2025 17:00:38 +
Subject: [PATCH] Update tests, apply clang-tidy suggestions
---
llvm/lib/Tr
efriedma-quic wrote:
If we have PTRADD without a corresponding pointer type, the operand of the
PTRADD is implicitly an inttoptr, which causes the problems we're discussing.
Which... the IR layer doesn't really properly preserve inttoptr operations in
all circumstances, but we're trying to fi
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions h,cpp --
clang/include/clang/Parse/ParseHLSLRootSignature.h
pcc wrote:
> Apologies for the delay in responding, just come back from vacation. Not had
> a chance to look through the Discourse posts yet, will do so this week.
>
> While it may seem a bit premature, would you be able to open an issue in the
> AArch64 ABI (https://github.com/ARM-software/ab
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Finn Plummer (inbelic)
Changes
- defines `ParamType` as a way to represent a reference to some
parameter in a root signature
- defines `ParseParam` and `ParseParams` as an infastructure to define
how the parameters of a given struct should
https://github.com/inbelic created
https://github.com/llvm/llvm-project/pull/133800
- defines `ParamType` as a way to represent a reference to some
parameter in a root signature
- defines `ParseParam` and `ParseParams` as an infastructure to define
how the parameters of a given struct should be
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 7810f30bb64b71e006ff7f0b16dff684ed63597b
77c230f82a61769714bee98b2e848820850d9cb5 --e
https://github.com/redstar created
https://github.com/llvm/llvm-project/pull/133799
The GOFF format uses symbol definitions to represent sections and symbols.
Introducing a section can require up to 3 symbol definitions. However, most of
these details are not needed by the AsmPrinter. To mappe
https://github.com/inbelic closed
https://github.com/llvm/llvm-project/pull/123985
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Author: Farzon Lotfi
Date: 2025-03-31T16:51:59-04:00
New Revision: 068da73e6dab35fdbd18c6b5c3ad1e0a9ed5a783
URL:
https://github.com/llvm/llvm-project/commit/068da73e6dab35fdbd18c6b5c3ad1e0a9ed5a783
DIFF:
https://github.com/llvm/llvm-project/commit/068da73e6dab35fdbd18c6b5c3ad1e0a9ed5a783.diff
Author: Finn Plummer
Date: 2025-03-31T13:17:55-07:00
New Revision: 0de37ec26159a6840c93e6595975445ac6c0e642
URL:
https://github.com/llvm/llvm-project/commit/0de37ec26159a6840c93e6595975445ac6c0e642
DIFF:
https://github.com/llvm/llvm-project/commit/0de37ec26159a6840c93e6595975445ac6c0e642.diff
Author: Lei Huang
Date: 2025-03-31T12:51:21-07:00
New Revision: bc65196c0919f337e7efcaaa1c7fb20ac988b3d4
URL:
https://github.com/llvm/llvm-project/commit/bc65196c0919f337e7efcaaa1c7fb20ac988b3d4
DIFF:
https://github.com/llvm/llvm-project/commit/bc65196c0919f337e7efcaaa1c7fb20ac988b3d4.diff
LOG
github-actions[bot] wrote:
@lei137 (or anyone else). If you would like to add a note about this fix in the
release notes (completely optional). Please reply to this comment with a one or
two sentence description of the fix. When you are done, please add the
release:note label to this PR.
ht
https://github.com/tstellar closed
https://github.com/llvm/llvm-project/pull/133279
___
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/tstellar updated
https://github.com/llvm/llvm-project/pull/133279
>From bc65196c0919f337e7efcaaa1c7fb20ac988b3d4 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Thu, 27 Mar 2025 17:27:45 +
Subject: [PATCH] update test due to
https://github.com/llvm/llvm-project/pull/12688
https://github.com/tstellar closed
https://github.com/llvm/llvm-project/pull/130035
___
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/llvmbot updated
https://github.com/llvm/llvm-project/pull/130035
>From d6d1dbf221814b2a28cb234e72c7d81730ff26e7 Mon Sep 17 00:00:00 2001
From: David Green
Date: Thu, 6 Mar 2025 09:35:12 +
Subject: [PATCH] [ARM] Speedups for CombineBaseUpdate. (#129725)
This attempts to p
@@ -0,0 +1,115 @@
+#include
pcc wrote:
Correct, I forgot to add one. Will add.
https://github.com/llvm/llvm-project/pull/133530
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llv
https://github.com/teresajohnson edited
https://github.com/llvm/llvm-project/pull/133369
___
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/atrosinenko updated
https://github.com/llvm/llvm-project/pull/133461
>From 4572e7635d2cd9a7d00c3d0f332eec6c35cdf10b Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 19 Mar 2025 18:58:32 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: analyze functions without CF
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/132540
>From c975f5b73958d2aeadf82c0a7b736e713d8798ae Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 20 Mar 2025 20:15:07 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: Detect address materializati
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/133308
>From 12d4a200bee45399a64fdeaee37f6edd5eee4bfd Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Thu, 27 Mar 2025 21:06:55 +0300
Subject: [PATCH] [BOLT] Make DataflowAnalysis::getStateBefore() const (N
https://github.com/atrosinenko updated
https://github.com/llvm/llvm-project/pull/133461
>From 4572e7635d2cd9a7d00c3d0f332eec6c35cdf10b Mon Sep 17 00:00:00 2001
From: Anatoly Trosinenko
Date: Wed, 19 Mar 2025 18:58:32 +0300
Subject: [PATCH 1/2] [BOLT] Gadget scanner: analyze functions without CF
mizvekov wrote:
@zwuis thanks for finding these.
I removed that assertion because it was not relevant anymore at that point
where it existed.
However, we should still not have an ElaboratedType in a NestedNameSpecifier,
although this patch moves us in the direction where that will not be the
@@ -5026,10 +5026,23 @@ calculateRegisterUsage(VPlan &Plan,
ArrayRef VFs,
// even in the scalar case.
RegUsage[ClassID] += 1;
} else {
+// The output from scaled phis and scaled reductions actually have
+// fewer lanes
smithp35 wrote:
Apologies for the delay in responding, just come back from vacation. Not had a
chance to look through the Discourse posts yet, will do so this week.
While it may seem a bit premature, would you be able to open an issue in the
AArch64 ABI (https://github.com/ARM-software/abi-aa/
https://github.com/teresajohnson approved this pull request.
lgtm but please remove the FIXME for the reason noted below
https://github.com/llvm/llvm-project/pull/133369
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://li
https://github.com/SamTebbs33 updated
https://github.com/llvm/llvm-project/pull/133090
>From 6193c2c846710472c7e604ef33a15cda18771328 Mon Sep 17 00:00:00 2001
From: Samuel Tebbs
Date: Wed, 26 Mar 2025 14:01:59 +
Subject: [PATCH 1/3] [LV] Reduce register usage for scaled reductions
---
...
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/133279
>From 9cb7ed36484774b012b8e17c79fccc161c36d116 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Thu, 27 Mar 2025 17:27:45 +
Subject: [PATCH] update test due to
https://github.com/llvm/llvm-project/pull/126880
https://github.com/pawosm-arm updated
https://github.com/llvm/llvm-project/pull/133223
>From 78b0eb25e001071d7793bd8f253c3d2efc5cbf0a Mon Sep 17 00:00:00 2001
From: Peter Klausler
Date: Wed, 26 Mar 2025 12:09:38 -0700
Subject: [PATCH] [flang] Fix missed case of symbol renaming in module file
g
https://github.com/eugeneepshteyn approved this pull request.
https://github.com/llvm/llvm-project/pull/133223
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
kasuga-fj wrote:
Depends on #133667
https://github.com/llvm/llvm-project/pull/133672
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -355,37 +399,39 @@ class PacRetAnalysis
return State();
}
+// First, compute various properties of the instruction, taking the state
+// before its execution into account, if necessary.
+
+BitVector Clobbered = getClobberedRegs(Point);
+// Compute
@@ -587,6 +587,22 @@ class MCPlusBuilder {
return getNoRegister();
}
+ virtual MCPhysReg getSafelyMaterializedAddressReg(const MCInst &Inst) const {
+llvm_unreachable("not implemented");
+return getNoRegister();
+ }
+
+ /// Analyzes if this instruction can saf
@@ -1,7 +1,8 @@
if "AArch64" not in config.root.targets:
config.unsupported = True
-flags = "--target=aarch64-linux-gnu -nostartfiles -nostdlib -ffreestanding"
+# -Wl,--no-relax prevents converting ADRP+ADD pairs into NOP+ADR.
+flags = "--target=aarch64-linux-gnu -nostartf
@@ -335,6 +335,50 @@ class PacRetAnalysis
});
}
+ BitVector getClobberedRegs(const MCInst &Point) const {
+BitVector Clobbered(NumRegs, false);
+// Assume a call can clobber all registers, including callee-saved
+// registers. There's a good chance that call
@@ -587,6 +587,22 @@ class MCPlusBuilder {
return getNoRegister();
}
+ virtual MCPhysReg getSafelyMaterializedAddressReg(const MCInst &Inst) const {
+llvm_unreachable("not implemented");
+return getNoRegister();
+ }
kbeyls wrote:
I think that
https://github.com/ritter-x2a updated
https://github.com/llvm/llvm-project/pull/131862
>From ee21919269e84f95b07c65c90937cc13d25202ad Mon Sep 17 00:00:00 2001
From: Fabian Ritter
Date: Mon, 17 Mar 2025 06:51:16 -0400
Subject: [PATCH] [SDAG] Introduce inbounds flag for pointer arithmetic
This p
https://github.com/ritter-x2a updated
https://github.com/llvm/llvm-project/pull/132353
>From a8155cf5b7847a041be8d4252b20cae01d305404 Mon Sep 17 00:00:00 2001
From: Fabian Ritter
Date: Fri, 21 Mar 2025 03:33:02 -0400
Subject: [PATCH] [AMDGPU][SDAG] Only fold flat offsets if they are inbounds
F
https://github.com/ritter-x2a updated
https://github.com/llvm/llvm-project/pull/131862
>From ee21919269e84f95b07c65c90937cc13d25202ad Mon Sep 17 00:00:00 2001
From: Fabian Ritter
Date: Mon, 17 Mar 2025 06:51:16 -0400
Subject: [PATCH] [SDAG] Introduce inbounds flag for pointer arithmetic
This p
kasuga-fj wrote:
Depends on #133665
https://github.com/llvm/llvm-project/pull/133667
___
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/DanielKristofKiss approved this pull request.
LGMT
https://github.com/llvm/llvm-project/pull/130035
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-c
72 matches
Mail list logo