@@ -338,6 +338,13 @@ void aix::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
CmdArgs.push_back("-lpthread");
}
const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
+
+// Required for 64-bit atomic operations used in sanitizer runtimes
+//
@@ -338,6 +338,13 @@ void aix::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
CmdArgs.push_back("-lpthread");
}
const char *Exec = Args.MakeArgString(ToolChain.GetLinkerPath());
+
+// Required for 64-bit atomic operations used in sanitizer runtimes
+//
https://github.com/hubert-reinterpretcast edited
https://github.com/llvm/llvm-project/pull/125388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hubert-reinterpretcast edited
https://github.com/llvm/llvm-project/pull/125388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1146,11 +1146,30 @@ bool
ExtractAPIVisitorBase::VisitTypedefNameDecl(
StringRef Name = Decl->getName();
+ auto nameMatches = [&Name](TagDecl *TagDecl) {
+StringRef TagName = TagDecl->getName();
+
+if (TagName == Name)
+ return true;
+
+// Also check w
https://github.com/sarnex updated
https://github.com/llvm/llvm-project/pull/126142
>From 504d1993bd1adce8ad627f6aa0f9d73a9967b473 Mon Sep 17 00:00:00 2001
From: "Sarnie, Nick"
Date: Thu, 6 Feb 2025 14:24:08 -0800
Subject: [PATCH] [clang-linker-wrapper][lit] Fix OpenMP SPIR-V ELF test again
Sig
https://github.com/spall closed https://github.com/llvm/llvm-project/pull/126149
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Sarah Spall
Date: 2025-02-06T15:25:20-08:00
New Revision: 14716f2e4b2d771af0fe9163540a8f08ffe1e5ec
URL:
https://github.com/llvm/llvm-project/commit/14716f2e4b2d771af0fe9163540a8f08ffe1e5ec
DIFF:
https://github.com/llvm/llvm-project/commit/14716f2e4b2d771af0fe9163540a8f08ffe1e5ec.diff
L
Author: Sarah Spall
Date: 2025-02-06T14:38:01-08:00
New Revision: 01072e546fd6243b889c6cfc109e9ad761e1b17c
URL:
https://github.com/llvm/llvm-project/commit/01072e546fd6243b889c6cfc109e9ad761e1b17c
DIFF:
https://github.com/llvm/llvm-project/commit/01072e546fd6243b889c6cfc109e9ad761e1b17c.diff
L
@@ -6910,6 +6910,10 @@ defm loop_versioning : BoolOptionWithoutMarshalling<"f",
"version-loops-for-stri
def fhermetic_module_files : Flag<["-"], "fhermetic-module-files">,
Group,
HelpText<"Emit hermetic module files (no nested USE association)">;
+
+def do_concurrent_paral
@@ -142,6 +142,12 @@ static llvm::cl::opt
llvm::cl::desc("enable openmp device compilation"),
llvm::cl::init(false));
+static llvm::cl::opt enableDoConcurrentToOpenMPConversion(
+"fdo-concurrent-parallel",
clem
https://github.com/akyrtzi approved this pull request.
https://github.com/llvm/llvm-project/pull/126151
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ryosuke Niwa
Date: 2025-02-06T18:57:44-08:00
New Revision: 6f508492d13944edd0e7e70a3cc34eb29caeb8e9
URL:
https://github.com/llvm/llvm-project/commit/6f508492d13944edd0e7e70a3cc34eb29caeb8e9
DIFF:
https://github.com/llvm/llvm-project/commit/6f508492d13944edd0e7e70a3cc34eb29caeb8e9.diff
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/126016
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MattPD created
https://github.com/llvm/llvm-project/pull/126172
A proposed fix for the issue #95611, [OpenMP][SIMD] ordered has no effect in a
loop SIMD region as of LLVM 18.1.0
Changes:
- Implement new lowering behavior: Conservatively serialize "omp simd" loops
that have
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-cmake-x86_64-avx512-win` running on `avx512-intel64-win` while building
`clang` at step 4 "cmake stage 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/81/builds/4482
Here is the relevant pi
@@ -6910,6 +6910,10 @@ defm loop_versioning : BoolOptionWithoutMarshalling<"f",
"version-loops-for-stri
def fhermetic_module_files : Flag<["-"], "fhermetic-module-files">,
Group,
HelpText<"Emit hermetic module files (no nested USE association)">;
+
+def do_concurrent_paral
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matt (MattPD)
Changes
A proposed fix for the issue #95611, [OpenMP][SIMD] ordered has no
effect in a loop SIMD region as of LLVM 18.1.0
Changes:
- Implement new lowering behavior: Conservatively serialize "omp simd" loops
that have `omp
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Matt (MattPD)
Changes
A proposed fix for the issue #95611, [OpenMP][SIMD] ordered has no
effect in a loop SIMD region as of LLVM 18.1.0
Changes:
- Implement new lowering behavior: Conservatively serialize "omp simd" loops
that h
@@ -0,0 +1,110 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --functions "omp_simd_loop" --check-globals smart --filter
"access|\%omp.inner.for.cond.*\!llvm.loop"
MattPD wrote:
All right, I've opened a PR #126172 wi
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/126143
>From ea890db7533d007ed63a42775949d4b1d7d4443b Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Thu, 6 Feb 2025 15:54:19 -0600
Subject: [PATCH] [OpenMP] Remove 'libomptarget.devicertl.a' fatbinary and use
stat
https://github.com/topperc edited
https://github.com/llvm/llvm-project/pull/126064
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-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 07d496538f5543a8eed5e207148e28e358b7cca4
db39bc22eaf30a479686fb065acba4d676b034a9 --e
@@ -623,13 +623,37 @@ bool SemaRISCV::CheckBuiltinFunctionCall(const TargetInfo
&TI,
}
}
+ auto checkVsetvl = [&](unsigned SEWOffset,
+unsigned LMULOffset) -> bool {
+const FunctionDecl *FD = SemaRef.getCurFunctionDecl();
+
https://github.com/topperc edited
https://github.com/llvm/llvm-project/pull/126064
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -623,13 +623,37 @@ bool SemaRISCV::CheckBuiltinFunctionCall(const TargetInfo
&TI,
}
}
+ auto checkVsetvl = [&](unsigned SEWOffset,
wangpc-pp wrote:
I think it is a variable, most lambdas in tree are capital. :-)
https://github.com/llvm/llvm-project/
https://github.com/wangpc-pp edited
https://github.com/llvm/llvm-project/pull/126064
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
arsenm wrote:
> Good to know, thanks. No one else in libclc is using `__builtin_ldexp`, so in
> its current form it'd still have to be some sort of a customization. Everyone
> is opting for the software implementation.
Really we just want to get to llvm.ldexp. It's unfortunate we're stuck rout
https://github.com/sarnex closed
https://github.com/llvm/llvm-project/pull/125737
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,21 @@
+// TYPE sign(TYPE x) {
+// if (isnan(x)) {
+// return 0.0F;
+// }
+// if (x > 0.0F) {
+// return 1.0F;
+// }
+// if (x < 0.0F) {
+// return -1.0F;
+// }
+// return x; /* -0.0 or +0.0 */
+// }
+_CLC_DEF _CLC_OVERLOAD __CLC_GENTYPE __clc_s
https://github.com/rgwott edited
https://github.com/llvm/llvm-project/pull/105669
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/125806
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DeinAlptraum commented:
Sorry, saw this but had no time to answer. Unfortunately I'm also not familiar
with Python packaging so can't be of much help here
https://github.com/llvm/llvm-project/pull/125806
___
cfe-commits mailing list
https://github.com/AaronBallman approved this pull request.
LGTM! (Thank you for the ping, this fell off my radar).
https://github.com/llvm/llvm-project/pull/125122
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
https://github.com/philnik777 edited
https://github.com/llvm/llvm-project/pull/123078
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/philnik777 closed
https://github.com/llvm/llvm-project/pull/123078
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nikolas Klauser
Date: 2025-02-06T15:04:23+01:00
New Revision: 9598f74133a358588ab7e38ec6b5e39a4143bdd0
URL:
https://github.com/llvm/llvm-project/commit/9598f74133a358588ab7e38ec6b5e39a4143bdd0
DIFF:
https://github.com/llvm/llvm-project/commit/9598f74133a358588ab7e38ec6b5e39a4143bdd0.dif
https://github.com/steakhal approved this pull request.
https://github.com/llvm/llvm-project/pull/125884
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,36 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm==8.1.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = {text
kosarev wrote:
Same suggestion as in
https://github.com/llvm/llvm-project/pull/119750#discussion_r1941297212.
https://github.com/llvm/llvm-project/pull/125706
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailm
DavidTruby wrote:
I have force pushed this to my branch but github doesn't seem to be picking it
up on this review?? I don't really know how to fix this.
https://github.com/llvm/llvm-project/pull/119718
___
cfe-commits mailing list
cfe-commits@lists.l
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/125453
>From a36dcb035a30b560eb9dd14fd3ce2f8e8952b8ee Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Sun, 2 Feb 2025 23:47:15 -0300
Subject: [PATCH] [clang] print correct context for diagnostics suppressed by
d
@@ -194,6 +194,10 @@ class LocationSize {
return hasValue() && getValue() == Other;
}
+ bool operator<=(const LocationSize &Other) const {
+return Value <= Other.Value;
nikic wrote:
LocationSize has a whole bunch of special values and bits that mak
@@ -587,11 +587,31 @@ class LLVM_ABI Function : public GlobalObject, public
ilist_node {
bool onlyAccessesInaccessibleMemory() const;
void setOnlyAccessesInaccessibleMemory();
+ /// Determine if the function may only access errno memory.
+ bool onlyAccessesErrnoMemory()
@@ -789,6 +789,10 @@ enum AttributeKindCodes {
ATTR_KIND_NO_DIVERGENCE_SOURCE = 100,
ATTR_KIND_SANITIZE_TYPE = 101,
ATTR_KIND_CAPTURES = 102,
+ ATTR_KIND_ERRNOMEMONLY = 103,
+ ATTR_KIND_INACCESSIBLEMEM_OR_ERRNOMEMONLY = 104,
+ ATTR_KIND_ARGMEM_OR_ERRNOMEMONLY = 105,
+
@@ -2293,9 +2318,21 @@ static bool upgradeOldMemoryAttribute(MemoryEffects &ME,
uint64_t EncodedKind) {
case bitc::ATTR_KIND_INACCESSIBLEMEM_ONLY:
ME &= MemoryEffects::inaccessibleMemOnly();
return true;
+ case bitc::ATTR_KIND_ERRNOMEMONLY:
+ME &= MemoryEffects:
@@ -126,8 +126,21 @@ static void addLocAccess(MemoryEffects &ME, const
MemoryLocation &Loc,
return;
if (isa(UO)) {
ME |= MemoryEffects::argMemOnly(MR);
+if (Loc.Size <= LocationSize::precise(sizeof(int)))
+ ME |= MemoryEffects::errnoMemOnly(MR);
@@ -201,11 +201,16 @@ enum Kind {
kw_readwrite,
kw_argmem,
kw_inaccessiblemem,
+ kw_errnomem,
// Legacy attributes:
kw_argmemonly,
kw_inaccessiblememonly,
kw_inaccessiblemem_or_argmemonly,
+ kw_inaccessiblemem_or_errnomemonly,
+ kw_argmem_or_errnomemonly,
@@ -126,8 +126,21 @@ static void addLocAccess(MemoryEffects &ME, const
MemoryLocation &Loc,
return;
if (isa(UO)) {
ME |= MemoryEffects::argMemOnly(MR);
+if (Loc.Size <= LocationSize::precise(sizeof(int)))
+ ME |= MemoryEffects::errnoMemOnly(MR);
return;
@@ -126,8 +126,21 @@ static void addLocAccess(MemoryEffects &ME, const
MemoryLocation &Loc,
return;
if (isa(UO)) {
ME |= MemoryEffects::argMemOnly(MR);
+if (Loc.Size <= LocationSize::precise(sizeof(int)))
+ ME |= MemoryEffects::errnoMemOnly(MR);
return;
@@ -1915,11 +1915,31 @@ class CallBase : public Instruction {
bool onlyAccessesInaccessibleMemory() const;
void setOnlyAccessesInaccessibleMemory();
+ /// Determine if the function may only access errno memory.
+ bool onlyAccessesErrnoMemory() const;
+ void setOnlyAcces
@@ -401,7 +401,7 @@ def tblockaddress: SDNode<"ISD::TargetBlockAddress",
SDTPtrLeaf, [],
def add: SDNode<"ISD::ADD" , SDTIntBinOp ,
[SDNPCommutative, SDNPAssociative]>;
-def ptradd : SDNode<"ISD::ADD" , SDTPtrAddOp, []>;
+def
https://github.com/alexey-bataev closed
https://github.com/llvm/llvm-project/pull/126079
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/spall edited https://github.com/llvm/llvm-project/pull/118842
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagyDonat updated
https://github.com/llvm/llvm-project/pull/125494
From d938ccc8bf6a0498ea2bf0fad89f4c207e8813f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Don=C3=A1t=20Nagy?=
Date: Mon, 23 Dec 2024 12:20:35 +0100
Subject: [PATCH 1/3] [analyzer][NFC] Add option assume-one-itera
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/125494
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/NagyDonat edited
https://github.com/llvm/llvm-project/pull/125494
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/124779
>From 06dec25da892c6b32f1c3c9f99ab31035165101e Mon Sep 17 00:00:00 2001
From: Fraser Cormack
Date: Tue, 28 Jan 2025 16:17:14 +
Subject: [PATCH] [libclc] Have all targets build all CLC functions
This rem
dyung wrote:
Hi @sarnex, the test you added seems to be failing on a buildbot, can you take
a look?
https://lab.llvm.org/buildbot/#/builders/144/builds/17530
```
TEST 'Clang :: Tooling/clang-linker-wrapper-spirv-elf.cpp'
FAILED
Exit Code: 1
Command Out
@@ -1197,25 +1197,19 @@ Decl
*TemplateDeclInstantiator::VisitDecompositionDecl(DecompositionDecl *D) {
for (auto *NewBD : NewBindings)
NewBD->setInvalidDecl();
- if (OldResolvedPack) {
-// Mark the holding vars (if any) in the pack as instantiated since
-//
@@ -1178,13 +1178,13 @@ Decl
*TemplateDeclInstantiator::VisitDecompositionDecl(DecompositionDecl *D) {
// Transform the bindings first.
// The transformed DD will have all of the concrete BindingDecls.
SmallVector NewBindings;
- ResolvedUnexpandedPackExpr *OldResolvedPa
@@ -3492,10 +3492,13 @@ VarDecl *BindingDecl::getHoldingVar() const {
return VD;
}
-llvm::ArrayRef BindingDecl::getBindingPackExprs() const {
+llvm::ArrayRef BindingDecl::getBindingPackDecls() const {
assert(Binding && "expecting a pack expr");
- auto *RP = cast(Binding)
@@ -4649,49 +4649,48 @@ class SubstNonTypeTemplateParmPackExpr : public Expr {
/// \endcode
class FunctionParmPackExpr final
: public Expr,
- private llvm::TrailingObjects {
+ private llvm::TrailingObjects {
zyn0217 wrote:
Can we also update the
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier
Message-ID:
In-Reply-To:
===
https://github.com/zyn0217 commented:
Thanks, a few more comments
https://github.com/llvm/llvm-project/pull/125394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -980,24 +980,24 @@ static bool CheckBindingsCount(Sema &S, DecompositionDecl
*DD,
if (IsValid && HasPack) {
// Create the pack expr and assign it to the binding.
unsigned PackSize = MemberCount - Bindings.size() + 1;
-QualType PackType = S.Context.getPackExpan
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/125394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sarnex wrote:
looking
https://github.com/llvm/llvm-project/pull/125737
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier
Message-ID:
In-Reply-To:
===
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/126090
Summary:
This probably wasn't the intended result, but the code here causes
OpenMP to always link in `ockl.bc` which was intentionally not linked.
This results in the OCKL definitions conflicting with the OpenMP
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
This probably wasn't the intended result, but the code here causes
OpenMP to always link in `ockl.bc` which was intentionally not linked.
This results in the OCKL d
@@ -1120,3 +1120,19 @@
// RUN:-c \
// RUN: | FileCheck --check-prefixes=CHECK-K-UNUSED %s
// CHECK-K-UNUSED: clang: warning: -K: 'linker' input unused
[-Wunused-command-line-argument]
+
+// Check No Sanitizer on 32-bit AIX
+// RUN: %clang -target powerpc-ibm-aix -m32
@@ -1120,3 +1120,19 @@
// RUN:-c \
// RUN: | FileCheck --check-prefixes=CHECK-K-UNUSED %s
// CHECK-K-UNUSED: clang: warning: -K: 'linker' input unused
[-Wunused-command-line-argument]
+
+// Check No Sanitizer on 32-bit AIX
+// RUN: %clang -target powerpc-ibm-aix -m32
Author: Joseph Huber
Date: 2025-02-06T11:07:39-06:00
New Revision: 7ac4e46b5ca97a15d63ec86ec7eac6cdca1010e7
URL:
https://github.com/llvm/llvm-project/commit/7ac4e46b5ca97a15d63ec86ec7eac6cdca1010e7
DIFF:
https://github.com/llvm/llvm-project/commit/7ac4e46b5ca97a15d63ec86ec7eac6cdca1010e7.diff
@@ -1120,3 +1120,19 @@
// RUN:-c \
// RUN: | FileCheck --check-prefixes=CHECK-K-UNUSED %s
// CHECK-K-UNUSED: clang: warning: -K: 'linker' input unused
[-Wunused-command-line-argument]
+
+// Check No Sanitizer on 32-bit AIX
+// RUN: %clang -target powerpc-ibm-aix -m32
DavidSpickett wrote:
I wonder if it is only happening on a rebuild not a clean build. This one was
clean:
https://lab.llvm.org/buildbot/#/builders/65/builds/11869
But your test did not fail (I assume did not run). This one is a rebuild:
https://lab.llvm.org/buildbot/#/builders/65/builds/11870
@@ -0,0 +1,36 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm==8.1.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = {text
@@ -5404,6 +5404,151 @@ third argument, can only occur at file scope.
a = b[i] * c[i] + e;
}
+Extensions for controlling atomic code generation
+=
+
+The ``[[clang::atomic]]`` statement attribute enables users to control ho
https://github.com/erichkeane commented:
>rdar://138644831
DO we have to!?!
I don't object to the commit itself once @Fznamznon and @shafik are happy.
https://github.com/llvm/llvm-project/pull/125671
___
cfe-commits mailing list
cfe-commits@lists.llv
https://github.com/Meinersbur approved this pull request.
LGTM
Dont forget clang-format
(https://github.com/llvm/llvm-project/pull/125830#issuecomment-2639658025)
https://github.com/llvm/llvm-project/pull/125830
___
cfe-commits mailing list
cfe-commi
@@ -950,6 +950,11 @@ void ROCMToolChain::addClangTargetOptions(
ABIVer))
return;
+ std::tuple GPUSan(
+ DriverArgs.hasFlag(options::OPT_fgpu_sanitize,
+ options::OPT_fno_gpu_sanitize, true),
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/125957
>From 6654b86c10163d41d33cba741e8125293ade4422 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Wed, 5 Feb 2025 17:21:02 -0600
Subject: [PATCH] [Clang] Forward arguments to the device compiler better
Summary:
Author: Joseph Huber
Date: 2025-02-06T10:42:15-06:00
New Revision: 2e18c94ad17e53d4c594baaf6bfd40460ceebc1e
URL:
https://github.com/llvm/llvm-project/commit/2e18c94ad17e53d4c594baaf6bfd40460ceebc1e
DIFF:
https://github.com/llvm/llvm-project/commit/2e18c94ad17e53d4c594baaf6bfd40460ceebc1e.diff
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/125957
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
frasercrmck wrote:
> > Would we ideally have an `__builtin_elementwise_ldexp` to target the vector
> > intrinsics directly?
>
> Yes
I'll go add that builtin and come back to this - thanks.
What do you think about libclc making use of weak linkage in principle?
https://github.com/llvm/llvm-pr
NagyDonat wrote:
I updated the name of the option and tried to clarify the comments that
describe the relationship with `eagerly-assume` (but it's just a
mostly-theoretical buggy corner case, so I wouldn't put it into the minimal
two-sentence documentation).
@gamesh411 @steakhal Are you satis
Author: Donát Nagy
Date: 2025-02-06T17:45:42+01:00
New Revision: 6e17ed9b04e5523cc910bf171c3122dcc64b86db
URL:
https://github.com/llvm/llvm-project/commit/6e17ed9b04e5523cc910bf171c3122dcc64b86db
DIFF:
https://github.com/llvm/llvm-project/commit/6e17ed9b04e5523cc910bf171c3122dcc64b86db.diff
LO
https://github.com/NagyDonat closed
https://github.com/llvm/llvm-project/pull/125534
___
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-codegen
Author: Harald van Dijk (hvdijk)
Changes
After #124287 updated several functions to return iterators rather than
Instruction *, it was no longer straightforward to pass their result to
DIBuilder. This commit updates DIBuilder methods to a
llvmbot wrote:
@llvm/pr-subscribers-debuginfo
Author: Harald van Dijk (hvdijk)
Changes
After #124287 updated several functions to return iterators rather than
Instruction *, it was no longer straightforward to pass their result to
DIBuilder. This commit updates DIBuilder methods to accep
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
Author: Harald van Dijk (hvdijk)
Changes
After #124287 updated several functions to return iterators rather than
Instruction *, it was no longer straightforward to pass their result to
DIBuilder. This commit updates DIBuilder methods to accept
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mészáros Gergely (Maetveis)
Changes
Multiple improvements to make the messages more concrete, actionable and less
confusing when multiple prefixes are used in `-verify`. The common theme among
these was that prior to the patch all error m
https://github.com/Maetveis edited
https://github.com/llvm/llvm-project/pull/126068
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier
Message-ID:
In-Reply-To:
===
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building
`clang` at step 6 "test-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/30/builds/15368
Here is the relevant piece of
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/125731
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
Ping
https://github.com/llvm/llvm-project/pull/125095
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman approved this pull request.
LGTM but please update the patch summary when landing to mention that this was
deprecated in Clang 20.
https://github.com/llvm/llvm-project/pull/123078
___
cfe-commits mailing list
cfe-commit
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier ,
=?utf-8?q?Félix?= Cloutier
Message-ID:
In-Reply-To:
===
https://github.com/Patryk27 approved this pull request.
https://github.com/llvm/llvm-project/pull/125997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
401 - 500 of 513 matches
Mail list logo