https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/130011
EmitAggExprToLValue started wrapping the temporary alloca in an addrspacecast
at some point. We take the direct type from this as the pointer argument for the
runtime function type, but this isn't correct. Technic
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Matt Arsenault (arsenm)
Changes
EmitAggExprToLValue started wrapping the temporary alloca in an addrspacecast
at some point. We take the direct type from this as the pointer argument for the
runtime function type, but this isn't cor
arsenm wrote:
* **#130011** https://app.graphite.dev/github/pr/llvm/llvm-project/130011?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/13001
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/130011
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/momo5502 updated
https://github.com/llvm/llvm-project/pull/128866
>From bb4091d2f9b7062aa83e5bee2ba525478a7dbd0a Mon Sep 17 00:00:00 2001
From: Maurice Heumann
Date: Wed, 26 Feb 2025 14:31:47 +0100
Subject: [PATCH 1/8] Instantiate destructors from initialized anonymous union
@@ -9180,6 +9180,12 @@ bool Sema::hasAcceptableDefinition(NamedDecl *D,
NamedDecl **Suggested,
if (!getLangOpts().Modules && !getLangOpts().ModulesLocalVisibility)
return true;
+ // The external source may have additional definitions of this entity that
are
+ // visi
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/momo5502 updated
https://github.com/llvm/llvm-project/pull/128866
>From bb4091d2f9b7062aa83e5bee2ba525478a7dbd0a Mon Sep 17 00:00:00 2001
From: Maurice Heumann
Date: Wed, 26 Feb 2025 14:31:47 +0100
Subject: [PATCH 1/7] Instantiate destructors from initialized anonymous union
llvmbot wrote:
/pull-request llvm/llvm-project#130017
https://github.com/llvm/llvm-project/pull/126908
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Zhenhang1213 created
https://github.com/llvm/llvm-project/pull/130022
None
>From 0db9830f5d5e29288c87e5935df913b99a040d93 Mon Sep 17 00:00:00 2001
From: Austin
Date: Thu, 27 Feb 2025 00:11:56 +0800
Subject: [PATCH 1/3] [ARM] Introduce -mtp=auto and make it the default
This
Author: Ricardo Jesus
Date: 2025-03-06T09:27:07Z
New Revision: f01e760c08365426de95f02dc2c2dc670eb47352
URL:
https://github.com/llvm/llvm-project/commit/f01e760c08365426de95f02dc2c2dc670eb47352
DIFF:
https://github.com/llvm/llvm-project/commit/f01e760c08365426de95f02dc2c2dc670eb47352.diff
LOG:
https://github.com/Zhenhang1213 created
https://github.com/llvm/llvm-project/pull/130027
We follow GCC mtp=auto when arch is arm_arch6k and support thumb2
reference:https://reviews.llvm.org/D114116
>From 751ef68cf68739277b8975157b5693fa4bc72abe Mon Sep 17 00:00:00 2001
From: Austin
Date: Thu,
frasercrmck wrote:
ping, thanks
https://github.com/llvm/llvm-project/pull/125673
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Trevor Gross
Date: 2025-03-06T17:31:01+08:00
New Revision: b941d90c4de204631509176fea603762eef795d3
URL:
https://github.com/llvm/llvm-project/commit/b941d90c4de204631509176fea603762eef795d3
DIFF:
https://github.com/llvm/llvm-project/commit/b941d90c4de204631509176fea603762eef795d3.diff
github-actions[bot] wrote:
@tgross35 Congratulations on having your first Pull Request (PR) merged into
the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a build
https://github.com/Zhenhang1213 edited
https://github.com/llvm/llvm-project/pull/130027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux`
running on `premerge-linux-1` while building
`clang,flang,lldb,llvm,mlir,offload,polly` at step 6 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/153/bu
https://github.com/a-tarasyuk deleted
https://github.com/llvm/llvm-project/pull/123667
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/momo5502 updated
https://github.com/llvm/llvm-project/pull/128866
>From bb4091d2f9b7062aa83e5bee2ba525478a7dbd0a Mon Sep 17 00:00:00 2001
From: Maurice Heumann
Date: Wed, 26 Feb 2025 14:31:47 +0100
Subject: [PATCH 1/6] Instantiate destructors from initialized anonymous union
https://github.com/zhouronghua updated
https://github.com/llvm/llvm-project/pull/119513
>From 084505ded118c741717d54e4e463fe4e293fce41 Mon Sep 17 00:00:00 2001
From: "ronghua.zhou"
Date: Fri, 14 Feb 2025 01:04:51 +
Subject: [PATCH] [Feature]: support for the BC library file into the compile
https://github.com/momo5502 updated
https://github.com/llvm/llvm-project/pull/128866
>From bb4091d2f9b7062aa83e5bee2ba525478a7dbd0a Mon Sep 17 00:00:00 2001
From: Maurice Heumann
Date: Wed, 26 Feb 2025 14:31:47 +0100
Subject: [PATCH 1/9] Instantiate destructors from initialized anonymous union
https://github.com/momo5502 updated
https://github.com/llvm/llvm-project/pull/128866
>From bb4091d2f9b7062aa83e5bee2ba525478a7dbd0a Mon Sep 17 00:00:00 2001
From: Maurice Heumann
Date: Wed, 26 Feb 2025 14:31:47 +0100
Subject: [PATCH 01/10] Instantiate destructors from initialized anonymous
uni
https://github.com/mpark edited https://github.com/llvm/llvm-project/pull/129982
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
svenvh wrote:
> When someone passes the `-Xclang -cl-ext=+all`, the compiler should add
> defines for all the supported extensions.
Indeed; we already have such a list in `opencl-c-base.h` to enable all
header-only extensions for the `spir`/`spirv` targets, so it should be easy to
make `-cl-e
https://github.com/momo5502 updated
https://github.com/llvm/llvm-project/pull/128866
>From bb4091d2f9b7062aa83e5bee2ba525478a7dbd0a Mon Sep 17 00:00:00 2001
From: Maurice Heumann
Date: Wed, 26 Feb 2025 14:31:47 +0100
Subject: [PATCH 1/6] Instantiate destructors from initialized anonymous union
https://github.com/u4f3 created https://github.com/llvm/llvm-project/pull/130012
The Xqcili extension includes a two instructions that load large immediates
than is available with the base RISC-V ISA.
The current spec can be found at:
https://github.com/quic/riscv-unified-db/releases/tag/Xqci-
@@ -5091,8 +5091,10 @@ UnwrappedLineParser::parseMacroCall() {
void UnwrappedLineParser::pushToken(FormatToken *Tok) {
Line->Tokens.push_back(UnwrappedLineNode(Tok));
if (MustBreakBeforeNextToken) {
HazardyKnusperkeks wrote:
Good.
https://github.com/llvm/
@@ -240,7 +247,7 @@ arm::ReadTPMode arm::getReadTPMode(const Driver &D, const
ArgList &Args,
D.Diag(diag::err_drv_invalid_mtp) << A->getAsString(Args);
return ReadTPMode::Invalid;
}
- return (isHardTPSupported(Triple) ? ReadTPMode::TPIDRURO : ReadTPMode::Soft);
+
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Austin (Zhenhang1213)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/130022.diff
5 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+4)
- (modified) clang/include/clang/Driver/Options.td (+1-1)
- (modified)
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/129198
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -70,16 +93,37 @@ class ParentMapContext::ParentMap {
push_back(Value);
}
bool contains(const DynTypedNode &Value) {
- return Seen.contains(Value);
+ assert(Value.getMemoizationData());
+ bool found = FragileLazySeenCache.contains(&Value);
+
@@ -5283,6 +5283,102 @@ Sema::SetDelegatingInitializer(CXXConstructorDecl
*Constructor,
return false;
}
+static CXXDestructorDecl *LookupDestructorIfRelevant(Sema &S,
+ CXXRecordDecl *Class) {
+ if (Class->isInvalidDecl()
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/130105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
johnplatts wrote:
I have discovered that there is a bug in the VSX `vec_pack_to_short_fp32(a, b)`
intrinsic with GCC on big-endian POWER9 (but not little-endian POWER9), where
`vec_pack_to_short_fp32(a, b)` returns `{b[0], b[1], b[2], b[3], a[0], a[1],
a[2], a[3]}` instead of the expected `{a[
VladiKrapp-Arm wrote:
The updated version looks better.
I think we need to remove ARMV6T2 from the list, as it does not seem to support
the feature.
https://developer.arm.com/documentation/ddi0290/g/system-control-coprocessor/system-control-processor-registers/c13--process-id-register?lang=en
https://github.com/jakeegan edited
https://github.com/llvm/llvm-project/pull/129925
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Pedro Lobo
Date: 2025-03-06T12:30:05+01:00
New Revision: 156cdcf2ffc9a5f851e1b340891172462938b5ea
URL:
https://github.com/llvm/llvm-project/commit/156cdcf2ffc9a5f851e1b340891172462938b5ea
DIFF:
https://github.com/llvm/llvm-project/commit/156cdcf2ffc9a5f851e1b340891172462938b5ea.diff
LO
https://github.com/nikic closed https://github.com/llvm/llvm-project/pull/129755
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Boaz Brickner (bricknerb)
Changes
Also, remove the non-const `ASTUnit::getASTContext()` since it's no longer
necessary.
This would make it similar to `Decl::getAstContext() const` for a more
consistent and flexible API.
---
Full diff: ht
https://github.com/bricknerb created
https://github.com/llvm/llvm-project/pull/130096
Also, remove the non-const `ASTUnit::getASTContext()` since it's no longer
necessary.
This would make it similar to `Decl::getAstContext() const` for a more
consistent and flexible API.
>From be1b384568aab7a
Carlos =?utf-8?q?Gálvez?= ,
Carlos =?utf-8?q?Gálvez?=
Message-ID:
In-Reply-To:
steakhal wrote:
> That's a good point. @haoNoQ @Xazax-hun @steakhal Do you see any implications
> on this patch when running clang static analyzer via clang-tidy? Any checks
> that would stop detecting issues?
>
https://github.com/a-tarasyuk closed
https://github.com/llvm/llvm-project/pull/129139
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/momo5502 updated
https://github.com/llvm/llvm-project/pull/128866
>From f23cf926c4dbf934971e5f4f8b40105e3b41bb0f Mon Sep 17 00:00:00 2001
From: Maurice Heumann
Date: Wed, 26 Feb 2025 14:31:47 +0100
Subject: [PATCH 1/6] Instantiate destructors from initialized anonymous union
@@ -460,18 +460,24 @@ void ClangdServer::codeComplete(PathRef File, Position
Pos,
CodeCompleteResult Result = clangd::codeComplete(
File, Pos, IP->Preamble, ParseInput, CodeCompleteOpts,
SpecFuzzyFind ? &*SpecFuzzyFind : nullptr);
+// We don't want `cod
@@ -70,16 +94,38 @@ class ParentMapContext::ParentMap {
push_back(Value);
}
bool contains(const DynTypedNode &Value) {
- return Seen.contains(Value);
+ assert(Value.getMemoizationData());
+ bool found = FragileLazySeenCache.contains(&Value);
+
@@ -70,16 +94,38 @@ class ParentMapContext::ParentMap {
push_back(Value);
}
bool contains(const DynTypedNode &Value) {
- return Seen.contains(Value);
+ assert(Value.getMemoizationData());
+ bool found = FragileLazySeenCache.contains(&Value);
-
https://github.com/nikic closed https://github.com/llvm/llvm-project/pull/129868
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AaronBallman wrote:
> There is no const_cast, or casting away const in any form on this patch, so
> how does it weaken const correctness?
When a function is marked as `const`, the implication is that calling the
function should not lead to an underlying mutation. Given that this function is
r
@@ -46,9 +46,7 @@ _CLC_DEF _CLC_OVERLOAD __CLC_GENTYPE
__clc_hypot(__CLC_GENTYPE x,
__CLC_GENTYPE retval = __clc_sqrt(__clc_mad(fx, fx, fy * fy)) * fx_exp;
retval = (ux > PINFBITPATT_SP32 || uy == 0) ? __CLC_AS_GENTYPE(ux) : retval;
- retval = (ux == PINFBITPATT_SP32 ||
https://github.com/AaronBallman commented:
Just some minor nits from me so far.
I think there may be some additional performance benefits we could eek out, but
I don't think they need to be done in this patch (or done at all, it's
speculative). One is that I noticed `ASTContext::getTraversalSc
erichkeane wrote:
> Just some minor nits from me so far.
>
> I think there may be some additional performance benefits we could eek out,
> but I don't think they need to be done in this patch (or done at all, it's
> speculative). One is that I noticed `ASTContext::getTraversalScope()` is
> re
erichkeane wrote:
> > One is that I noticed `ASTContext::getTraversalScope()` is returning a
> > vector by copy and that doesn't seem necessary.
I noticed this too! I'm actually working on validating a RAC fix for this
right now, just to have it return an ArrayRef instead. Both uses of that
@@ -208,10 +208,17 @@ bool arm::useAAPCSForMachO(const llvm::Triple &T) {
bool arm::isHardTPSupported(const llvm::Triple &Triple) {
int Ver = getARMSubArchVersionNumber(Triple);
llvm::ARM::ArchKind AK = llvm::ARM::parseArch(Triple.getArchName());
- return Triple.isARM() ||
Author: Balazs Benics
Date: 2025-03-06T08:09:09+01:00
New Revision: 7e5821bae80db3f3f0fe0d5f8ce62f79e548eed5
URL:
https://github.com/llvm/llvm-project/commit/7e5821bae80db3f3f0fe0d5f8ce62f79e548eed5
DIFF:
https://github.com/llvm/llvm-project/commit/7e5821bae80db3f3f0fe0d5f8ce62f79e548eed5.diff
https://github.com/kadircet created
https://github.com/llvm/llvm-project/pull/130077
We started seeing some use-after-frees starting with
https://github.com/llvm/llvm-project/pull/125433.
This patch ensures we explicitly block for the async task, if there's one,
before destructing `std::future
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: kadir çetinkaya (kadircet)
Changes
We started seeing some use-after-frees starting with
https://github.com/llvm/llvm-project/pull/125433.
This patch ensures we explicitly block for the async task, if there's one,
before destructing `std:
https://github.com/ilya-biryukov edited
https://github.com/llvm/llvm-project/pull/130077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matthew Levy (matthewlevy97)
Changes
The goal of this stack is to provide a metric to audit the deployed mitigations
in a binary and where they are enabled at function level granularity. This will
enable tracking of where we do and don't
https://github.com/jvoung ready_for_review
https://github.com/llvm/llvm-project/pull/129930
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Oleksandr T.
Date: 2025-03-06T15:12:53+02:00
New Revision: 09e010001773d7d7efc0cafe78d3c8899d8bc45d
URL:
https://github.com/llvm/llvm-project/commit/09e010001773d7d7efc0cafe78d3c8899d8bc45d
DIFF:
https://github.com/llvm/llvm-project/commit/09e010001773d7d7efc0cafe78d3c8899d8bc45d.diff
https://github.com/mariusz-sikora-at-amd closed
https://github.com/llvm/llvm-project/pull/130054
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lukacma edited
https://github.com/llvm/llvm-project/pull/128854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: erichkeane
Date: 2025-03-06T07:04:34-08:00
New Revision: 9189d84abbfc643db0053200c1c2e16b1e78e8f9
URL:
https://github.com/llvm/llvm-project/commit/9189d84abbfc643db0053200c1c2e16b1e78e8f9
DIFF:
https://github.com/llvm/llvm-project/commit/9189d84abbfc643db0053200c1c2e16b1e78e8f9.diff
LO
Author: erichkeane
Date: 2025-03-06T07:08:00-08:00
New Revision: 5bb112feaeab99018f7ae2c59620d557f2b958ae
URL:
https://github.com/llvm/llvm-project/commit/5bb112feaeab99018f7ae2c59620d557f2b958ae
DIFF:
https://github.com/llvm/llvm-project/commit/5bb112feaeab99018f7ae2c59620d557f2b958ae.diff
LO
Fznamznon wrote:
@tahonermann thank you for your investigation, and sorry for the delay.
> Is it known which platforms are affected by this issue?
The issue is reported on Linux with a makefile as a reproducer. I'm not aware
if that is the case on Windows.
> I think it is worth cleaning this
@@ -577,57 +580,62 @@ void handleConstMemberCall(const CallExpr *CE,
auto &ResultLoc = State.Env.getResultObjectLocation(*CE);
copyRecord(cast(Loc), ResultLoc, State.Env);
}
-return;
+return true;
}
// Cache if the const method returns a referenc
https://github.com/piotrAMD approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/130054
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -208,10 +208,17 @@ bool arm::useAAPCSForMachO(const llvm::Triple &T) {
bool arm::isHardTPSupported(const llvm::Triple &Triple) {
int Ver = getARMSubArchVersionNumber(Triple);
llvm::ARM::ArchKind AK = llvm::ARM::parseArch(Triple.getArchName());
- return Triple.isARM() ||
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/121199
>From 55f9d1e5abf5f217e58988742bd7f375d744beb8 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Fri, 27 Sep 2024 22:11:14 +0200
Subject: [PATCH] [Clang] Add __builtin_common_reference
---
clang/docs/Lan
https://github.com/Fznamznon approved this pull request.
I appreciate the generalization, thanks!
https://github.com/llvm/llvm-project/pull/126956
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
https://github.com/virginia-cangelosi edited
https://github.com/llvm/llvm-project/pull/128854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -577,57 +580,62 @@ void handleConstMemberCall(const CallExpr *CE,
auto &ResultLoc = State.Env.getResultObjectLocation(*CE);
copyRecord(cast(Loc), ResultLoc, State.Env);
}
-return;
+return true;
}
// Cache if the const method returns a referenc
https://github.com/arsenm commented:
The target isn't part of the language, why is it in LangOpts?
https://github.com/llvm/llvm-project/pull/126956
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
https://github.com/Zhenhang1213 updated
https://github.com/llvm/llvm-project/pull/130027
>From ab10e36766013ef8406ed8a4f7f3e398e04186d2 Mon Sep 17 00:00:00 2001
From: Austin
Date: Thu, 6 Mar 2025 17:25:55 +0800
Subject: [PATCH] [ARM] Using cp15 while mtp =auto and arch is arm_arch6k and
suppo
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Matthew Levy (matthewlevy97)
Changes
The goal of this stack is to provide a metric to audit the deployed mitigations
in a binary and where they are enabled at function level granularity. This will
enable tracking of where we do and
Carlos =?utf-8?q?Gálvez?= ,
Carlos =?utf-8?q?Gálvez?=
Message-ID:
In-Reply-To:
carlosgalvezp wrote:
Thank you for the quick answer! I will then proceed to rebase against latest
trunk and merge :) We can look into applying the same change to the static
analyzer in a separate patch.
https://g
https://github.com/ymand approved this pull request.
https://github.com/llvm/llvm-project/pull/129930
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/127336
>From 272385df25b791b50472b92e12157477d021a26f Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 15 Feb 2025 18:19:44 +0200
Subject: [PATCH 1/8] [Clang] add -Wshift-bool warning to handle shifting of
boo
@@ -58,6 +58,7 @@ enum class LangAS : unsigned {
// HLSL specific address spaces.
hlsl_groupshared,
+ hlsl_private,
Keenuts wrote:
Hi again! It's been a while, but this now went through an HLSL proposal.
https://github.com/llvm/wg-hlsl/commit/4c9e11aa507
https://github.com/Lukacma commented:
Looks good. I would definitely highlight in the PR description the change to
SVEEmitter you made though and the reasoning behind it.
https://github.com/llvm/llvm-project/pull/128854
___
cfe-commits mailing list
cf
https://github.com/u4f3 updated https://github.com/llvm/llvm-project/pull/130012
>From 1abf892d26713b3425b1f1dc0d6834b9bd0aba70 Mon Sep 17 00:00:00 2001
From: u4f3
Date: Wed, 5 Mar 2025 12:59:03 +
Subject: [PATCH] [RISCV] Add Qualcomn uC Xqcili (load large immediates)
extension
The Xqcili
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building
`clang,flang,lldb,llvm,mlir,offload,polly` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/160/build
https://github.com/AaronBallman commented:
This is weakening const correctness, which is the opposite direction of where
we should be going IMO.
https://github.com/llvm/llvm-project/pull/130096
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
@@ -31,16 +44,118 @@ typedef hipError_t (*hipGetDeviceCount_t)(int *);
typedef hipError_t (*hipDeviceGet_t)(int *, int);
typedef hipError_t (*hipGetDeviceProperties_t)(hipDeviceProp_t *, int);
-int printGPUsByHIP() {
+extern cl::opt Verbose;
+
#ifdef _WIN32
- constexpr const
https://github.com/Endilll requested changes to this pull request.
I agree with Aaron that this patch doesn't move us towards the direction we
generally want. I'd like to see more justification than 2 lines in the
description.
https://github.com/llvm/llvm-project/pull/130096
__
@@ -154,3 +154,26 @@ int g() {
static_assert(f(arr) == 5);
}
}
+
+namespace GH128409 {
+ int &ff();
+ int &x = ff(); // nointerpreter-note {{declared here}}
+ constinit int &z = x; // expected-error {{variable does not have a constant
initializer}}
+
https://github.com/cor3ntin approved this pull request.
I think this makes sense.
Presumably we would backport it to 20
https://github.com/llvm/llvm-project/pull/129952
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
mizvekov wrote:
There is no const_cast, or casting away const in any form on this patch, so how
does it weaken const correctness?
https://github.com/llvm/llvm-project/pull/130096
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.ll
@@ -3835,7 +3866,7 @@ let TargetPrefix = "aarch64" in {
def int_aarch64_sme_luti4_lane_zt_x2
: DefaultAttrsIntrinsic<[llvm_anyvector_ty, LLVMMatchType<0>],
[llvm_i32_ty, llvm_nxv16i8_ty, llvm_i32_ty],
[ImmArg>, ImmArg>,
IntrReadMem]>;
-
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-analysis
Author: Jan Voung (jvoung)
Changes
Add test for https://github.com/llvm/llvm-project/issues/125589
The crash is actually incidentally fixed by
https://github.com/llvm/llvm-project/pull/128437 since it added a b
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/130012
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -588,6 +590,19 @@ let Predicates = [HasVendorXqcilo, IsRV32] in {
def QC_E_SW: QCIRVInstESStore<0b110, 0b11, "qc.e.sw">;
} // Predicates = [HasVendorXqcilo, IsRV32]
+let Predicates = [HasVendorXqcili, IsRV32] in {
+let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
@@ -588,6 +590,19 @@ let Predicates = [HasVendorXqcilo, IsRV32] in {
def QC_E_SW: QCIRVInstESStore<0b110, 0b11, "qc.e.sw">;
} // Predicates = [HasVendorXqcilo, IsRV32]
+let Predicates = [HasVendorXqcili, IsRV32] in {
+let hasSideEffects = 0, mayLoad = 0, mayStore = 0 in
arsenm wrote:
reverse ping
https://github.com/llvm/llvm-project/pull/115821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
arsenm wrote:
> Is this PR intended to match the signature of `__enqueue_kernel_basic`
> defined in device library? e.g.
Yes
> https://github.com/ROCm/llvm-project/blob/amd-staging/amd/device-libs/opencl/src/devenq/enqueue.cl#L172
>
> Since ndrange_t is passed by value, it becomes pointer to
@@ -257,6 +266,17 @@ class SME2_Tile_Movaz_Pat(name # _PSEUDO) $tile, $base, $offset)>;
+class SME2_ZA_Tile_TwoVec_Pat
+: Pat<(intrinsic imm_ty:$tile, vt:$Zn, vt:$Zm),
+ (!cast(name # _PSEUDO) $tile, $Zn, $Zm)>;
+
+class SME2_ZA_Tile_Vec_Multi_Pat
L
https://github.com/yxsamliu approved this pull request.
https://github.com/llvm/llvm-project/pull/130011
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9180,6 +9180,12 @@ bool Sema::hasAcceptableDefinition(NamedDecl *D,
NamedDecl **Suggested,
if (!getLangOpts().Modules && !getLangOpts().ModulesLocalVisibility)
return true;
+ // The external source may have additional definitions of this entity that
are
+ // visi
https://github.com/frasercrmck milestoned
https://github.com/llvm/llvm-project/pull/126908
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9180,6 +9180,12 @@ bool Sema::hasAcceptableDefinition(NamedDecl *D,
NamedDecl **Suggested,
if (!getLangOpts().Modules && !getLangOpts().ModulesLocalVisibility)
return true;
+ // The external source may have additional definitions of this entity that
are
+ // visi
1 - 100 of 336 matches
Mail list logo