https://github.com/Pierre-vh edited
https://github.com/llvm/llvm-project/pull/79236
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Pierre-vh commented:
I also agree with Jay, can't this go in InsertWaitCnt? Why does it have to go
in SIMemoryLegalizer instead?
If it has to stay here, fine, but is it possible to merge some code with
SIInsertWaitCnt in a common helper somewhere?
https://github.com/llvm/ll
@@ -167,6 +167,10 @@ def FeatureCuMode : SubtargetFeature<"cumode",
"Enable CU wavefront execution mode"
>;
+def FeaturePreciseMemory
Pierre-vh wrote:
I think you just need to add something like this in `AMDGPU.cpp` in
`getAMDGPUTargetFeatures`
```
if (A
@@ -603,14 +626,69 @@ class SIGfx12CacheControl : public SIGfx11CacheControl {
SIAtomicAddrSpace AddrSpace, SIMemOp Op,
bool IsVolatile,
bool IsNonTemporal) const o
@@ -603,14 +626,69 @@ class SIGfx12CacheControl : public SIGfx11CacheControl {
SIAtomicAddrSpace AddrSpace, SIMemOp Op,
bool IsVolatile,
bool IsNonTemporal) const o
@@ -603,14 +626,69 @@ class SIGfx12CacheControl : public SIGfx11CacheControl {
SIAtomicAddrSpace AddrSpace, SIMemOp Op,
bool IsVolatile,
bool IsNonTemporal) const o
@@ -2378,6 +2456,221 @@ bool
SIGfx12CacheControl::enableVolatileAndOrNonTemporal(
return Changed;
}
+bool SIGfx6CacheControl ::handleNonAtomicForPreciseMemory(
+MachineBasicBlock::iterator &MI) {
+ assert(MI->mayLoadOrStore());
+
+ MachineInstr &Inst = *MI;
+ AMDGPU:
@@ -2378,6 +2456,221 @@ bool
SIGfx12CacheControl::enableVolatileAndOrNonTemporal(
return Changed;
}
+bool SIGfx6CacheControl ::handleNonAtomicForPreciseMemory(
+MachineBasicBlock::iterator &MI) {
+ assert(MI->mayLoadOrStore());
+
+ MachineInstr &Inst = *MI;
+ AMDGPU:
https://github.com/SuHo-llrr updated
https://github.com/llvm/llvm-project/pull/77414
>From 13841607619f27dd6dcc2289d0380f5b76d99cbe Mon Sep 17 00:00:00 2001
From: SuHsien Ho
Date: Thu, 23 Nov 2023 14:36:43 +0800
Subject: [PATCH 1/5] [RISCV][ELF] Add RISCV GNU property label
---
llvm/include/l
https://github.com/SuHo-llrr updated
https://github.com/llvm/llvm-project/pull/77414
>From 13841607619f27dd6dcc2289d0380f5b76d99cbe Mon Sep 17 00:00:00 2001
From: SuHsien Ho
Date: Thu, 23 Nov 2023 14:36:43 +0800
Subject: [PATCH 1/6] [RISCV][ELF] Add RISCV GNU property label
---
llvm/include/l
https://github.com/SuHo-llrr updated
https://github.com/llvm/llvm-project/pull/77414
>From 13841607619f27dd6dcc2289d0380f5b76d99cbe Mon Sep 17 00:00:00 2001
From: SuHsien Ho
Date: Thu, 23 Nov 2023 14:36:43 +0800
Subject: [PATCH 1/5] [RISCV][ELF] Add RISCV GNU property label
---
llvm/include/l
https://github.com/SuHo-llrr edited
https://github.com/llvm/llvm-project/pull/77414
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SuHo-llrr updated
https://github.com/llvm/llvm-project/pull/77414
>From 13841607619f27dd6dcc2289d0380f5b76d99cbe Mon Sep 17 00:00:00 2001
From: SuHsien Ho
Date: Thu, 23 Nov 2023 14:36:43 +0800
Subject: [PATCH 1/5] [RISCV][ELF] Add RISCV GNU property label
---
llvm/include/l
https://github.com/cor3ntin commented:
Looks good.
Can you add an entry to clang/docs/ReleseNotes.rst?
There is an ast matchers section.
Thanks
https://github.com/llvm/llvm-project/pull/81776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
ht
zyn0217 wrote:
@cor3ntin gently ping
https://github.com/llvm/llvm-project/pull/80656
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/frederic-tingaud-sonarsource updated
https://github.com/llvm/llvm-project/pull/81776
>From c12b2e26ad7a114aff09b89c75178d4ab7890a20 Mon Sep 17 00:00:00 2001
From: Fred Tingaud
Date: Wed, 14 Feb 2024 19:40:29 +0100
Subject: [PATCH 1/2] [clang] Fix isInStdNamespace for Decl fla
Author: Mikael Holmen
Date: 2024-02-15T10:31:59+01:00
New Revision: 4a32a414ee07bf15c47ba7fb7286d968e73a04fe
URL:
https://github.com/llvm/llvm-project/commit/4a32a414ee07bf15c47ba7fb7286d968e73a04fe
DIFF:
https://github.com/llvm/llvm-project/commit/4a32a414ee07bf15c47ba7fb7286d968e73a04fe.diff
https://github.com/banach-space approved this pull request.
I've been dreaming to have a fix for this for ages, thank you! This is along
the lines of what I had in mind, thanks for implementing it!
LGTM 🙏🏻
https://github.com/llvm/llvm-project/pull/81726
__
Author: Paul Semel
Date: 2024-02-15T10:59:51+01:00
New Revision: ba279934c6ab09d5394a89d8318651aefd8d565b
URL:
https://github.com/llvm/llvm-project/commit/ba279934c6ab09d5394a89d8318651aefd8d565b
DIFF:
https://github.com/llvm/llvm-project/commit/ba279934c6ab09d5394a89d8318651aefd8d565b.diff
LO
https://github.com/paulsemel closed
https://github.com/llvm/llvm-project/pull/80970
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: David Spickett
Date: 2024-02-15T10:27:43Z
New Revision: 09b80e6145a2e619fa8ff486a04cdc7d1534a81a
URL:
https://github.com/llvm/llvm-project/commit/09b80e6145a2e619fa8ff486a04cdc7d1534a81a
DIFF:
https://github.com/llvm/llvm-project/commit/09b80e6145a2e619fa8ff486a04cdc7d1534a81a.diff
LOG
https://github.com/DavidSpickett closed
https://github.com/llvm/llvm-project/pull/81726
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/81776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/balazske created
https://github.com/llvm/llvm-project/pull/81842
Function 'fileno' fails only if invalid pointer is passed, this is a case that
is often ignored in source code. The failure case leads to many "false
positive" (theoretically correct bug normally "should not ha
Dominik =?utf-8?q?Wójt?=
Message-ID:
In-Reply-To:
https://github.com/mplatings edited
https://github.com/llvm/llvm-project/pull/81474
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Dominik =?utf-8?q?Wójt?=
Message-ID:
In-Reply-To:
@@ -191,7 +191,11 @@ static void getAArch64MultilibFlags(const Driver &D,
for (const auto &Ext : AArch64::Extensions)
if (FeatureSet.contains(Ext.NegFeature))
MArch.push_back(("no" + Ext.Name).str());
- MArch.ins
Dominik =?utf-8?q?W=C3=B3jt?=
Message-ID:
In-Reply-To:
https://github.com/mplatings requested changes to this pull request.
Definitely an improvement, thanks.
https://github.com/llvm/llvm-project/pull/81474
___
cfe-commits mailing list
cfe-commits@l
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Balázs Kéri (balazske)
Changes
Function 'fileno' fails only if invalid pointer is passed, this is a case that
is often ignored in source code. The failure case leads to many "false
positive" (t
balazske wrote:
Additionally code of `fflush` is moved in `StreamChecker` to a better place.
https://github.com/llvm/llvm-project/pull/81842
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
cor3ntin wrote:
Hum, should we use `getNonTransparentContext` instead? That would be cleaner
https://github.com/llvm/llvm-project/pull/81776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
Author: Simon Pilgrim
Date: 2024-02-15T10:41:09Z
New Revision: 0636309051f3b1a2b87047770bb3f7df1f3e27c3
URL:
https://github.com/llvm/llvm-project/commit/0636309051f3b1a2b87047770bb3f7df1f3e27c3
DIFF:
https://github.com/llvm/llvm-project/commit/0636309051f3b1a2b87047770bb3f7df1f3e27c3.diff
LOG:
https://github.com/rniwa updated https://github.com/llvm/llvm-project/pull/81829
>From 382ce72e206ca80e3414d5a141afa0f4f8b8 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Wed, 14 Feb 2024 23:30:27 -0800
Subject: [PATCH] [alpha.webkit.UncountedCallArgsChecker] Detect more trivial
function
Author: NAKAMURA Takumi
Date: 2024-02-15T20:27:47+09:00
New Revision: 3fe5a0cfa5391db18fcc226f3f783642d3f44503
URL:
https://github.com/llvm/llvm-project/commit/3fe5a0cfa5391db18fcc226f3f783642d3f44503
DIFF:
https://github.com/llvm/llvm-project/commit/3fe5a0cfa5391db18fcc226f3f783642d3f44503.dif
Author: NAKAMURA Takumi
Date: 2024-02-15T20:27:47+09:00
New Revision: 75f0d40507ea3f7c99dd3250ff0fbe6dab341910
URL:
https://github.com/llvm/llvm-project/commit/75f0d40507ea3f7c99dd3250ff0fbe6dab341910
DIFF:
https://github.com/llvm/llvm-project/commit/75f0d40507ea3f7c99dd3250ff0fbe6dab341910.dif
Author: David Spickett
Date: 2024-02-15T11:49:59Z
New Revision: 9f2d8cdf4209638973a0611fa2efd4e2fe38bfa5
URL:
https://github.com/llvm/llvm-project/commit/9f2d8cdf4209638973a0611fa2efd4e2fe38bfa5
DIFF:
https://github.com/llvm/llvm-project/commit/9f2d8cdf4209638973a0611fa2efd4e2fe38bfa5.diff
LOG
philnik777 wrote:
Ping (@AaronBallman maybe?)
https://github.com/llvm/llvm-project/pull/74110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rmarker created
https://github.com/llvm/llvm-project/pull/81848
Fix an issue where the lambda body left brace could sometimes fail to be
wrapped when AllowShortLambdasOnASingleLine is enabled.
Now, when BraceWrapping.BeforeLambdaBody is enabled, if the brace is not
wrapped,
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: None (rmarker)
Changes
Fix an issue where the lambda body left brace could sometimes fail to be
wrapped when AllowShortLambdasOnASingleLine is enabled.
Now, when BraceWrapping.BeforeLambdaBody is enabled, if the brace is not
wrapp
https://github.com/dtemirbulatov updated
https://github.com/llvm/llvm-project/pull/79842
>From af323998a63a72f569d543cf5167d5d28e784682 Mon Sep 17 00:00:00 2001
From: Dinar Temirbulatov
Date: Mon, 29 Jan 2024 14:43:13 +
Subject: [PATCH 1/6] [Clang][AArch64] Warn when calling
streaming/non-
@@ -3717,6 +3717,14 @@ def err_sme_definition_using_za_in_non_sme_target :
Error<
"function using ZA state requires 'sme'">;
def err_sme_definition_using_zt0_in_non_sme2_target : Error<
"function using ZT0 state requires 'sme2'">;
+def warn_sme_streaming_pass_return_vl_to_
@@ -7513,6 +7516,41 @@ void Sema::checkCall(NamedDecl *FDecl, const
FunctionProtoType *Proto,
}
}
+auto *CallerFD = dyn_cast(CurContext);
+bool IsCalleeStreaming = ((ExtInfo.AArch64SMEAttributes &
+ FunctionType::SME_PStateSMEna
@@ -7513,6 +7516,41 @@ void Sema::checkCall(NamedDecl *FDecl, const
FunctionProtoType *Proto,
}
}
+auto *CallerFD = dyn_cast(CurContext);
+bool IsCalleeStreaming = ((ExtInfo.AArch64SMEAttributes &
+ FunctionType::SME_PStateSMEna
@@ -12236,6 +12236,23 @@ bool Sema::CheckFunctionDeclaration(Scope *S,
FunctionDecl *NewFD,
bool UsesSM = NewFD->hasAttr();
bool UsesZA = Attr && Attr->isNewZA();
bool UsesZT0 = Attr && Attr->isNewZT0();
+
+if (UsesSM) {
+ if (NewFD->getReturnType()->isSiz
@@ -12236,6 +12236,23 @@ bool Sema::CheckFunctionDeclaration(Scope *S,
FunctionDecl *NewFD,
bool UsesSM = NewFD->hasAttr();
bool UsesZA = Attr && Attr->isNewZA();
bool UsesZT0 = Attr && Attr->isNewZT0();
+
+if (UsesSM) {
+ if (NewFD->getReturnType()->isSiz
@@ -7517,34 +7517,37 @@ void Sema::checkCall(NamedDecl *FDecl, const
FunctionProtoType *Proto,
}
auto *CallerFD = dyn_cast(CurContext);
-if (FD && CallerFD && Context.getTargetInfo().hasFeature("sme") &&
-!FD->getBuiltinID()) {
+bool IsCalleeStreaming
https://github.com/dtemirbulatov updated
https://github.com/llvm/llvm-project/pull/79842
>From af323998a63a72f569d543cf5167d5d28e784682 Mon Sep 17 00:00:00 2001
From: Dinar Temirbulatov
Date: Mon, 29 Jan 2024 14:43:13 +
Subject: [PATCH 1/7] [Clang][AArch64] Warn when calling
streaming/non-
@@ -12239,7 +12239,8 @@ bool Sema::CheckFunctionDeclaration(Scope *S,
FunctionDecl *NewFD,
if (UsesSM) {
dtemirbulatov wrote:
Done.
https://github.com/llvm/llvm-project/pull/79842
___
cfe-commits mailing list
c
https://github.com/hnakamura5 updated
https://github.com/llvm/llvm-project/pull/81611
>From 7ee4b35f0aed434053b6fd6329ef39de97bc22db Mon Sep 17 00:00:00 2001
From: hnakamura5
Date: Tue, 13 Feb 2024 23:50:15 +0900
Subject: [PATCH 1/6] [clang-format] Support of TableGen basic format
restrictions
https://github.com/pbo-linaro created
https://github.com/llvm/llvm-project/pull/81849
Found when compiling openssl master branch using clang-cl.
This commit introduces usage of InterlockedAdd64:
https://github.com/openssl/openssl/commit/d0e1a0ae701cfaca7f3dd3bf28a3f934a6408813
https://learn.mi
pbo-linaro wrote:
InterlockedAdd original commit for reference:
https://github.com/llvm/llvm-project/commit/df7929676dacf443f7cbc6d215272a793ea2b569
https://github.com/llvm/llvm-project/pull/81849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Pierrick Bouvier (pbo-linaro)
Changes
Found when compiling openssl master branch using clang-cl.
This commit introduces usage of InterlockedAdd64:
https://github.com/openssl/openssl/commit/d0e1a0ae701cfaca7f3dd3bf28a3f934a6408813
hctim wrote:
Messing around with global variables (changing their size, padding, alignment)
is a common theme amongst sanitizers. We'd therefore want any strategy applied
to ASan to be generic and apply across other sanitizers.
The patch might not cause issues right now with ASan - but I think
https://github.com/ostannard updated
https://github.com/llvm/llvm-project/pull/74460
>From 890f12e20ebfb7b4ab188f9fa8a46fe262a20783 Mon Sep 17 00:00:00 2001
From: Oliver Stannard
Date: Fri, 1 Dec 2023 10:06:57 +
Subject: [PATCH 1/8] [AArch64] Split feature tests for FP and SIMD
AArch64Targ
Author: ostannard
Date: 2024-02-15T12:39:16Z
New Revision: 9cc98e336980f00cbafcbed8841344e6ac472bdc
URL:
https://github.com/llvm/llvm-project/commit/9cc98e336980f00cbafcbed8841344e6ac472bdc
DIFF:
https://github.com/llvm/llvm-project/commit/9cc98e336980f00cbafcbed8841344e6ac472bdc.diff
LOG: [AA
https://github.com/ostannard closed
https://github.com/llvm/llvm-project/pull/74460
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
pbo-linaro wrote:
Review request: @rnk @mstorsjo
https://github.com/llvm/llvm-project/pull/81849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -159,21 +165,37 @@ def availability(issue):
if status == 'unknown':
avail = 'Unknown'
avail_style = ' class="unknown"'
- elif re.match('^[0-9]+\.?[0-9]*', status):
-avail = 'Clang %s' % status
-if float(status) > latest_release:
- avail_style = ' clas
@@ -159,21 +165,37 @@ def availability(issue):
if status == 'unknown':
avail = 'Unknown'
avail_style = ' class="unknown"'
- elif re.match('^[0-9]+\.?[0-9]*', status):
-avail = 'Clang %s' % status
-if float(status) > latest_release:
- avail_style = ' clas
https://github.com/domin144 updated
https://github.com/llvm/llvm-project/pull/81474
From da3ef3a5705ca4eec5683e0c048dd93da8c58b5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dominik=20W=C3=B3jt?=
Date: Mon, 12 Feb 2024 13:38:14 +0100
Subject: [PATCH 1/3] [clang][AArch64] multilib: fix deduction of
@@ -191,7 +191,11 @@ static void getAArch64MultilibFlags(const Driver &D,
for (const auto &Ext : AArch64::Extensions)
if (FeatureSet.contains(Ext.NegFeature))
MArch.push_back(("no" + Ext.Name).str());
- MArch.insert(MArch.begin(), ("-march=" + Triple.getArchName())
Dominik =?utf-8?q?W=C3=B3jt?= ,
Dominik =?utf-8?q?W=C3=B3jt?=
Message-ID:
In-Reply-To:
https://github.com/mplatings approved this pull request.
https://github.com/llvm/llvm-project/pull/81474
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
https://github.com/serge-sans-paille updated
https://github.com/llvm/llvm-project/pull/79502
>From ead2aca22a0f964d0f316e5ea7a5e3967844c015 Mon Sep 17 00:00:00 2001
From: serge-sans-paille
Date: Thu, 25 Jan 2024 22:12:55 +0100
Subject: [PATCH] [clang] Only set the trailing bytes to zero when fi
https://github.com/cor3ntin approved this pull request.
Still LGTM.
Will you be able to create the good first issue?
https://github.com/llvm/llvm-project/pull/81637
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
AaronBallman wrote:
> Still LGTM. Will you be able to create the good first issue?
Yes, or I'll fix the issue myself. One or the other. :-)
https://github.com/llvm/llvm-project/pull/81637
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:/
@@ -616,3 +616,26 @@ class Foo {
#undef INVALID_HANDLE_VALUE
#undef RGB
}
+
+namespace GH77684 {
+struct S1 {
+// CHECK-MESSAGES: :[[@LINE+1]]:16: warning: 'M' should be initialized in a
member initializer of the constructor
[cppcoreguidelines-prefer-member-initializer]
+ S1
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/81560
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Aaron Ballman
Date: 2024-02-15T07:58:01-05:00
New Revision: b9cf7f1066cc7ec11c6074d10b0f2ec9a3ae72d9
URL:
https://github.com/llvm/llvm-project/commit/b9cf7f1066cc7ec11c6074d10b0f2ec9a3ae72d9
DIFF:
https://github.com/llvm/llvm-project/commit/b9cf7f1066cc7ec11c6074d10b0f2ec9a3ae72d9.diff
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/81637
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Oliver Stannard
Date: 2024-02-15T12:59:16Z
New Revision: 5b8e7ed787f6e537876c4fdafd070eba9681f343
URL:
https://github.com/llvm/llvm-project/commit/5b8e7ed787f6e537876c4fdafd070eba9681f343
DIFF:
https://github.com/llvm/llvm-project/commit/5b8e7ed787f6e537876c4fdafd070eba9681f343.diff
LO
ostannard wrote:
One test caused a buildbot failure when the AArch64 backend is not built, fixed
by 5b8e7ed787f6e537876c4fdafd070eba9681f343
https://github.com/llvm/llvm-project/pull/74460
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
@@ -1558,6 +1558,89 @@ void is_standard_layout()
int t71[F(__is_standard_layout(HasEmptyIndirectBaseAsSecondUnionMember))];
}
+struct CStruct2 {
+ int one;
+ int two;
+};
+
+struct CEmptyStruct2 {};
+
+struct CppEmptyStruct2 : CStruct2 {};
+struct CppStructStandard2 : CEmp
serge-sans-paille wrote:
> It's not clear to me this is actually consistently profitable if the computed
> offset is small. If we have to emit a memset starting at a weird offset, the
> code might get worse overall. (e.g. on x86, a memset of 32 bytes is three
> instructions; a memset of 31 byt
https://github.com/alejandro-alvarez-sonarsource created
https://github.com/llvm/llvm-project/pull/81855
Now calling `open` with the `O_CREAT` flag and no mode parameter will raise an
issue in any system that defines `O_CREAT`.
The value for this flag is obtained after the full source code has
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alejandro Álvarez Ayllón (alejandro-alvarez-sonarsource)
Changes
Now calling `open` with the `O_CREAT` flag and no mode parameter will raise an
issue in any system that defines `O_CREAT`.
The value for this flag is obtained after the full
https://github.com/Zonotora updated
https://github.com/llvm/llvm-project/pull/75481
>From 5c85a13cbd5fb1d861f2b5a4cbb53abc5736674e Mon Sep 17 00:00:00 2001
From: Zonotora
Date: Sat, 16 Dec 2023 19:33:21 +0100
Subject: [PATCH 1/3] [clang] Extract negativity check lambda to function
---
clang/l
https://github.com/frederic-tingaud-sonarsource updated
https://github.com/llvm/llvm-project/pull/81776
>From c12b2e26ad7a114aff09b89c75178d4ab7890a20 Mon Sep 17 00:00:00 2001
From: Fred Tingaud
Date: Wed, 14 Feb 2024 19:40:29 +0100
Subject: [PATCH 1/3] [clang] Fix isInStdNamespace for Decl fla
frederic-tingaud-sonarsource wrote:
Oh, I didn't know about this, but it does look better. Thanks!
https://github.com/llvm/llvm-project/pull/81776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
https://github.com/frederic-tingaud-sonarsource updated
https://github.com/llvm/llvm-project/pull/81776
>From c12b2e26ad7a114aff09b89c75178d4ab7890a20 Mon Sep 17 00:00:00 2001
From: Fred Tingaud
Date: Wed, 14 Feb 2024 19:40:29 +0100
Subject: [PATCH 1/3] [clang] Fix isInStdNamespace for Decl fla
https://github.com/zahiraam updated
https://github.com/llvm/llvm-project/pull/67592
>From 55b67a58ef8b9856e5f0a8f535b8617f59711dec Mon Sep 17 00:00:00 2001
From: Ammarguellat
Date: Wed, 27 Sep 2023 11:59:04 -0700
Subject: [PATCH 01/15] Fix value of __FUNCTION__ and __func__ in MSVC mode.
---
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 d1f510cca8e966bd1742bf17256bfec99dcdf229
09c7dd2f5973a36448dd7ea17664f13c28aa --
cor3ntin wrote:
Thanks! Do you need me to merge this for you?
https://github.com/llvm/llvm-project/pull/81776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
frederic-tingaud-sonarsource wrote:
Yes please :)
https://github.com/llvm/llvm-project/pull/81776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Fred Tingaud
Date: 2024-02-15T14:55:25+01:00
New Revision: c609211d912dfa9849c5ca873d40d10e32e0a975
URL:
https://github.com/llvm/llvm-project/commit/c609211d912dfa9849c5ca873d40d10e32e0a975
DIFF:
https://github.com/llvm/llvm-project/commit/c609211d912dfa9849c5ca873d40d10e32e0a975.diff
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/81776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-02-15T15:13:12+01:00
New Revision: d68aa303fe779a29a981d1d4166c45a128aa65d6
URL:
https://github.com/llvm/llvm-project/commit/d68aa303fe779a29a981d1d4166c45a128aa65d6
DIFF:
https://github.com/llvm/llvm-project/commit/d68aa303fe779a29a981d1d4166c45a128aa65d6.diff
L
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/80662
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -36,6 +47,146 @@ static std::string normalizeForBundler(const llvm::Triple
&T,
: T.normalize();
}
+// Collect undefined __hip_fatbin* and __hip_gpubin_handle* symbols from all
+// input object or archive files.
+class HIPUndefinedFatBinSymbols {
+publi
@@ -1635,6 +1635,13 @@ void TypePrinter::printElaboratedBefore(const
ElaboratedType *T,
if (T->getKeyword() != ElaboratedTypeKeyword::None)
OS << " ";
NestedNameSpecifier *Qualifier = T->getQualifier();
+if (Policy.ForcePrintingAsElaboratedType) {
+ if (
@@ -897,7 +897,8 @@ void DeclPrinter::VisitFunctionDecl(FunctionDecl *D) {
D->getBody()->printPrettyControlled(Out, nullptr, SubPolicy,
Indentation, "\n",
&Context);
} else {
- if (!Policy.TerseOutput && isa(*D))
+ if (Po
@@ -326,6 +326,10 @@ struct PrintingPolicy {
LLVM_PREFERRED_TYPE(bool)
unsigned AlwaysIncludeTypeForTemplateArgument : 1;
+ // Whether to print the type as an elaborated type. This is used when
+ // printing a function via the _FUNCTION__ macro in MSVC mode.
+ unsigned
@@ -36,6 +47,146 @@ static std::string normalizeForBundler(const llvm::Triple
&T,
: T.normalize();
}
+// Collect undefined __hip_fatbin* and __hip_gpubin_handle* symbols from all
+// input object or archive files.
+class HIPUndefinedFatBinSymbols {
+publi
@@ -36,6 +47,146 @@ static std::string normalizeForBundler(const llvm::Triple
&T,
: T.normalize();
}
+// Collect undefined __hip_fatbin* and __hip_gpubin_handle* symbols from all
+// input object or archive files.
+class HIPUndefinedFatBinSymbols {
+publi
@@ -16542,12 +16542,64 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned
BuiltinID,
Intrinsic::ID ID = Intrinsic::not_intrinsic;
+ // The lambda function converts builtin_cpu_is function into directly
+ // returning false or true, or it gets and checks the informati
AaronBallman wrote:
I'm not in favor of this revert at the moment, but I'd like to hear more from
our ABI folks (@rjmccall @hjl-tools specifically). It does not seem reasonable
to me that we basically have no path forward to support `_BitInt` with larger
sizes, which is one of the key points t
AaronBallman wrote:
CC @phoebewang as well
https://github.com/llvm/llvm-project/pull/81175
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1558,6 +1558,89 @@ void is_standard_layout()
int t71[F(__is_standard_layout(HasEmptyIndirectBaseAsSecondUnionMember))];
}
+struct CStruct2 {
+ int one;
+ int two;
+};
+
+struct CEmptyStruct2 {};
+
+struct CppEmptyStruct2 : CStruct2 {};
+struct CppStructStandard2 : CEmp
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/81656
___
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.
Please also add a release note to clang/docs/ReleaseNotes.rst so users know
about the new functionality. There were a few tiny nits with comments, but
otherwise this LGTM!
https://github.com/llvm/llvm-project/pull/81656
__
@@ -12696,6 +12696,59 @@ bool IntExprEvaluator::VisitBuiltinCallExpr(const
CallExpr *E,
return BuiltinOp == Builtin::BI__atomic_always_lock_free ?
Success(0, E) : Error(E);
}
+ case Builtin::BI__builtin_addcb:
+ case Builtin::BI__builtin_addcs:
+ case Builtin:
@@ -12696,6 +12696,59 @@ bool IntExprEvaluator::VisitBuiltinCallExpr(const
CallExpr *E,
return BuiltinOp == Builtin::BI__atomic_always_lock_free ?
Success(0, E) : Error(E);
}
+ case Builtin::BI__builtin_addcb:
+ case Builtin::BI__builtin_addcs:
+ case Builtin:
1 - 100 of 374 matches
Mail list logo