Author: SpencerAbson
Date: 2024-11-08T15:07:05Z
New Revision: da9499ebfb323602c42aeb674571fe89cec20ca6
URL:
https://github.com/llvm/llvm-project/commit/da9499ebfb323602c42aeb674571fe89cec20ca6
DIFF:
https://github.com/llvm/llvm-project/commit/da9499ebfb323602c42aeb674571fe89cec20ca6.diff
LOG:
@@ -0,0 +1,111 @@
+// REQUIRES: amdgpu-registered-target
+// RUN: %clang -xhip --offload-arch=gfx1030 --offload-host-only -pedantic
-nogpuinc -nogpulib -nobuiltininc -fsyntax-only -Xclang -verify %s
+// RUN: %clang -xhip --offload-arch=gfx1030 --offload-device-only -pedantic
-no
https://github.com/hokein approved this pull request.
https://github.com/llvm/llvm-project/pull/115482
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Xazax-hun closed
https://github.com/llvm/llvm-project/pull/115482
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SpencerAbson closed
https://github.com/llvm/llvm-project/pull/114293
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/smanna12 created
https://github.com/llvm/llvm-project/pull/115496
This commit addresses two static analyzer issues in the CallBI function:
Resource Leak: Ensures that the NewFrame object is properly managed by
releasing ownership when InterpretBuiltin returns true, preventin
https://github.com/playstation-edd created
https://github.com/llvm/llvm-project/pull/115497
Until now, these have been hardcoded as a downstream patches in lld. Add them
to the driver so that the private patches can be removed.
PS5 only. On PS4, the equivalent hardcoded configuration will rema
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Edd Dawson (playstation-edd)
Changes
Until now, these have been hardcoded as a downstream patches in lld. Add them
to the driver so that the private patches can be removed.
PS5 only. On PS4, the equivalent hardcoded configuration will rem
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Edd Dawson (playstation-edd)
Changes
Until now, these have been hardcoded as a downstream patches in lld. Add them
to the driver so that the private patches can be removed.
PS5 only. On PS4, the equivalent hardcoded configuration w
@@ -1238,6 +1235,59 @@ void RedundantExpressionCheck::check(const
MatchFinder::MatchResult &Result) {
if (const auto *BinOp = Result.Nodes.getNodeAs("binary")) {
// If the expression's constants are macros, check whether they are
// intentional.
+
+//
+// Spe
@@ -102,6 +102,209 @@ void BranchCloneCheck::registerMatchers(MatchFinder
*Finder) {
this);
Finder->addMatcher(switchStmt().bind("switch"), this);
Finder->addMatcher(conditionalOperator().bind("condOp"), this);
+
Finder->addMatcher(ifStmt(hasDescendant(ifStmt())).b
@@ -102,6 +102,209 @@ void BranchCloneCheck::registerMatchers(MatchFinder
*Finder) {
this);
Finder->addMatcher(switchStmt().bind("switch"), this);
Finder->addMatcher(conditionalOperator().bind("condOp"), this);
+
Finder->addMatcher(ifStmt(hasDescendant(ifStmt())).b
@@ -102,6 +102,209 @@ void BranchCloneCheck::registerMatchers(MatchFinder
*Finder) {
this);
Finder->addMatcher(switchStmt().bind("switch"), this);
Finder->addMatcher(conditionalOperator().bind("condOp"), this);
+
Finder->addMatcher(ifStmt(hasDescendant(ifStmt())).b
@@ -102,6 +102,209 @@ void BranchCloneCheck::registerMatchers(MatchFinder
*Finder) {
this);
Finder->addMatcher(switchStmt().bind("switch"), this);
Finder->addMatcher(conditionalOperator().bind("condOp"), this);
+
Finder->addMatcher(ifStmt(hasDescendant(ifStmt())).b
Author: Aaron Ballman
Date: 2024-11-08T11:25:39-05:00
New Revision: 4027400d2ceefb5ce68d4508e5f30dc40c4f535b
URL:
https://github.com/llvm/llvm-project/commit/4027400d2ceefb5ce68d4508e5f30dc40c4f535b
DIFF:
https://github.com/llvm/llvm-project/commit/4027400d2ceefb5ce68d4508e5f30dc40c4f535b.diff
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/115494
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -64,8 +64,13 @@ template __DEVICE__ _Tp norm(const
std::complex<_Tp> &__c) {
}
// conj
-
-template std::complex<_Tp> conj(const std::complex<_Tp> &__c) {
+#ifdef _GLIBCXX20_CONSTEXPR
+#define CXX20_CONSTEXPR_DEVICE __DEVICE__
shiltian wrote:
I wonder wh
https://github.com/shiltian commented:
LGTM. @alexey-bataev What do you think?
https://github.com/llvm/llvm-project/pull/114221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -255,16 +255,21 @@ static void stubifyDirectory(const StringRef InputPath,
Context &Ctx) {
if (EC)
reportError(IT->path() + ": " + EC.message());
-// Skip header directories (include/Headers/PrivateHeaders) and module
ributzka wrote:
How is
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/115545
>From d8105f5626318868ada0deba0b5755999a47abb2 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Fri, 8 Nov 2024 15:42:04 -0600
Subject: [PATCH 1/2] [Clang] Add support for scoped atomic thread fence
Summary:
P
https://github.com/malavikasamak created
https://github.com/llvm/llvm-project/pull/115552
Do not warn when a string literal is indexed and the idex value is within the
bounds of the length of the string.
(rdar://139106996)
>From 3be112ec1f0b2e6e2948db082a7141d91b873a17 Mon Sep 17 00:00:00 200
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 5b697ef5dd6b3e29e257e6099014bf8d8e77ac9a
3be112ec1f0b2e6e2948db082a7141d91b873a17 --e
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Malavika Samak (malavikasamak)
Changes
Do not warn when a string literal is indexed and the idex value is within the
bounds of the length of the string.
(rdar://139106996)
---
Full diff: https://github.com/llvm/llvm-project/pull/115552.d
https://github.com/jkorous-apple created
https://github.com/llvm/llvm-project/pull/115554
fixes rdar://139106996
>From 8db304f11ba708abd096b4b8df998c55548e5b4d Mon Sep 17 00:00:00 2001
From: Jan Korous
Date: Fri, 8 Nov 2024 14:07:19 -0800
Subject: [PATCH] [-Wunsafe-buffer-usage] Fix false posi
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-analysis
Author: None (jkorous-apple)
Changes
fixes rdar://139106996
---
Full diff: https://github.com/llvm/llvm-project/pull/115554.diff
2 Files Affected:
- (modified) clang/lib/Analysis/UnsafeBufferUsage.cpp (+16-10
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 8a7a7b5ffc690bd012cf090d31d47ec938248ba3
8db304f11ba708abd096b4b8df998c55548e5b4d --e
@@ -8710,3 +8710,103 @@ Declares that a function potentially allocates heap
memory, and prevents any pot
of ``nonallocating`` by the compiler.
}];
}
+
+def WrapsDocs : Documentation {
+ let Category = DocCatField;
+ let Content = [{
+The ``wraps`` attribute can be used wit
@@ -433,6 +433,26 @@ Attribute Changes in Clang
- Fix a bug where clang doesn't automatically apply the ``[[gsl::Owner]]`` or
``[[gsl::Pointer]]`` to STL explicit template specialization decls.
(#GH109442)
+- Introduced ``__attribute__((wraps))`` which can be added to type
https://github.com/vitalybuka commented:
I guess we already discussed that before. My preference is the wrap and
sanitize attributes are interdependent. Open to be convinced otherwise.
But seems like we want consistency with https://godbolt.org/z/crhdaczx1
* `__attribute__((wraps,no_sanitize("
https://github.com/vitalybuka edited
https://github.com/llvm/llvm-project/pull/115094
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8710,3 +8710,103 @@ Declares that a function potentially allocates heap
memory, and prevents any pot
of ``nonallocating`` by the compiler.
}];
}
+
+def WrapsDocs : Documentation {
+ let Category = DocCatField;
+ let Content = [{
+The ``wraps`` attribute can be used wit
@@ -8710,3 +8710,103 @@ Declares that a function potentially allocates heap
memory, and prevents any pot
of ``nonallocating`` by the compiler.
}];
}
+
+def WrapsDocs : Documentation {
+ let Category = DocCatField;
+ let Content = [{
+The ``wraps`` attribute can be used wit
@@ -323,30 +324,127 @@ struct TemplateParameterListBuilder {
S.Context, Builder.Record->getDeclContext(), SourceLocation(),
SourceLocation(), /* TemplateDepth */ 0, Position,
&S.Context.Idents.get(Name, tok::TokenKind::identifier),
-/* Typename *
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/115045
>From ef4a7eea3eacce4f77b628aebe7f2838733971d0 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Tue, 5 Nov 2024 10:35:59 -0800
Subject: [PATCH 1/5] add empty struct test cases
---
.../SemaHLSL/Types/Traits
@@ -67,9 +67,11 @@ types specified within an ignorelist.
int a = 2147483647; // INT_MAX
++a;// Normally, an overflow with
-fsanitize=signed-integer-overflow
}
+
JustinStitt wrote:
I don't have commit access, but I'll revert that whit
https://github.com/vitalybuka edited
https://github.com/llvm/llvm-project/pull/115094
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: erichkeane
Date: 2024-11-08T10:23:04-08:00
New Revision: e4d57d6a729fd955ccbdd8834065356f26284f3d
URL:
https://github.com/llvm/llvm-project/commit/e4d57d6a729fd955ccbdd8834065356f26284f3d
DIFF:
https://github.com/llvm/llvm-project/commit/e4d57d6a729fd955ccbdd8834065356f26284f3d.diff
LO
Author: Aaron Ballman
Date: 2024-11-08T13:24:11-05:00
New Revision: 2b885f056585f82903f067840e54557a5b444b65
URL:
https://github.com/llvm/llvm-project/commit/2b885f056585f82903f067840e54557a5b444b65
DIFF:
https://github.com/llvm/llvm-project/commit/2b885f056585f82903f067840e54557a5b444b65.diff
https://github.com/chinmaydd updated
https://github.com/llvm/llvm-project/pull/115414
>From ce67d44d55ef488bac9428b4c7b78e37ea8471f6 Mon Sep 17 00:00:00 2001
From: Chinmay Deshpande
Date: Thu, 7 Nov 2024 22:05:03 -0500
Subject: [PATCH 1/2] [NFC][Clang] Use StringSwitch instead of array for
par
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/115414
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chinmaydd updated
https://github.com/llvm/llvm-project/pull/115414
>From ce67d44d55ef488bac9428b4c7b78e37ea8471f6 Mon Sep 17 00:00:00 2001
From: Chinmay Deshpande
Date: Thu, 7 Nov 2024 22:05:03 -0500
Subject: [PATCH 1/2] [NFC][Clang] Use StringSwitch instead of array for
par
@@ -155,26 +156,23 @@ std::string AttributeCommonInfo::getNormalizedFullName()
const {
normalizeName(getAttrName(), getScopeName(), getSyntax()));
}
-// Sorted list of attribute scope names
-static constexpr std::pair ScopeList[] =
-{{"", AttributeCommonInfo::Scope:
Author: Aaron Ballman
Date: 2024-11-08T13:20:38-05:00
New Revision: 2808f05e83643b3d5ef128340f6f4da994ed71e3
URL:
https://github.com/llvm/llvm-project/commit/2808f05e83643b3d5ef128340f6f4da994ed71e3
DIFF:
https://github.com/llvm/llvm-project/commit/2808f05e83643b3d5ef128340f6f4da994ed71e3.diff
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Oleksandr T. (a-tarasyuk)
Changes
Fixes #113324
---
https://github.com/llvm/llvm-project/pull/113777#issuecomment-2463960195
https://github.com/llvm/llvm-project/pull/113777#issuecomment-2464234180
---
Full diff: https://github.com/llvm
https://github.com/a-tarasyuk ready_for_review
https://github.com/llvm/llvm-project/pull/115487
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SpencerAbson created
https://github.com/llvm/llvm-project/pull/115539
…293)"
This reverts commit da9499ebfb323602c42aeb674571fe89cec20ca6.
>From 8d4263cb961fe96d329ca23e090dab25e9b697cb Mon Sep 17 00:00:00 2001
From: SpencerAbson
Date: Fri, 8 Nov 2024 19:43:36 +
Subject
llvmbot wrote:
@llvm/pr-subscribers-lldb
Author: None (SpencerAbson)
Changes
…293)"
This reverts commit da9499ebfb323602c42aeb674571fe89cec20ca6.
---
Patch is 52.30 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/115539.diff
35 Files Affecte
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (SpencerAbson)
Changes
…293)"
This reverts commit da9499ebfb323602c42aeb674571fe89cec20ca6.
---
Patch is 52.30 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/115539.diff
35 Files Affect
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: None (SpencerAbson)
Changes
…293)"
This reverts commit da9499ebfb323602c42aeb674571fe89cec20ca6.
---
Patch is 52.30 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/115539.diff
35 Files
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: None (SpencerAbson)
Changes
…293)"
This reverts commit da9499ebfb323602c42aeb674571fe89cec20ca6.
---
Patch is 52.30 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/115539.diff
35 Fi
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/114588
>From 087c2dfeffbadba4df12d5c429bb1e22e9034a3f Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Tue, 29 Oct 2024 19:39:31 +
Subject: [PATCH 1/5] adding llvm intrinsic
---
clang/include/clang/Basic/Bui
@@ -6,10 +6,10 @@ tbx z0.b, z1.b, z2.b
// CHECK: error: instruction requires: sve2 or sme
// CHECK-NEXT: tbx z0.b, z1.b, z2.b
-.arch_extension sve2-aes
-.arch_extension nosve2-aes
+.arch_extension sve-aes
+.arch_extension nosve-aes
labrinea wrote:
Here you ar
https://github.com/labrinea edited
https://github.com/llvm/llvm-project/pull/114293
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/114588
>From 087c2dfeffbadba4df12d5c429bb1e22e9034a3f Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Tue, 29 Oct 2024 19:39:31 +
Subject: [PATCH 1/5] adding llvm intrinsic
---
clang/include/clang/Basic/Bui
rnk wrote:
We can adjust the rules around language linkage if we like, but the main reason
we implement builtins this way is to support the MSVC intrinsic model, which is
to declare extern "C" functions and mark them with `#pragma intrinsic(NAME)`
like so:
```
extern "C" void _m_prefetchw(vola
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/114588
>From 087c2dfeffbadba4df12d5c429bb1e22e9034a3f Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Tue, 29 Oct 2024 19:39:31 +
Subject: [PATCH 1/5] adding llvm intrinsic
---
clang/include/clang/Basic/Bui
@@ -433,6 +433,26 @@ Attribute Changes in Clang
- Fix a bug where clang doesn't automatically apply the ``[[gsl::Owner]]`` or
``[[gsl::Pointer]]`` to STL explicit template specialization decls.
(#GH109442)
+- Introduced ``__attribute__((wraps))`` which can be added to type
https://github.com/JustinStitt edited
https://github.com/llvm/llvm-project/pull/115094
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8710,3 +8710,103 @@ Declares that a function potentially allocates heap
memory, and prevents any pot
of ``nonallocating`` by the compiler.
}];
}
+
+def WrapsDocs : Documentation {
+ let Category = DocCatField;
+ let Content = [{
+The ``wraps`` attribute can be used wit
https://github.com/JustinStitt edited
https://github.com/llvm/llvm-project/pull/115094
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8710,3 +8710,103 @@ Declares that a function potentially allocates heap
memory, and prevents any pot
of ``nonallocating`` by the compiler.
}];
}
+
+def WrapsDocs : Documentation {
+ let Category = DocCatField;
+ let Content = [{
+The ``wraps`` attribute can be used wit
@@ -5133,6 +5133,135 @@ RValue CodeGenFunction::EmitBuiltinExpr(const
GlobalDecl GD, unsigned BuiltinID,
Builder.SetInsertPoint(ContBB);
return RValue::get(nullptr);
}
+ case Builtin::BI__scoped_atomic_thread_fence: {
+auto ScopeModel = AtomicScopeModel::create(
@@ -5133,6 +5133,135 @@ RValue CodeGenFunction::EmitBuiltinExpr(const
GlobalDecl GD, unsigned BuiltinID,
Builder.SetInsertPoint(ContBB);
return RValue::get(nullptr);
}
+ case Builtin::BI__scoped_atomic_thread_fence: {
+auto ScopeModel = AtomicScopeModel::create(
https://github.com/JustinStitt edited
https://github.com/llvm/llvm-project/pull/115094
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jkorous-apple converted_to_draft
https://github.com/llvm/llvm-project/pull/115554
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/JustinStitt edited
https://github.com/llvm/llvm-project/pull/115094
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/llvm-beanz approved this pull request.
Love it!
https://github.com/llvm/llvm-project/pull/111625
___
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: Oleksandr T. (a-tarasyuk)
Changes
Fixes #63009
---
Full diff: https://github.com/llvm/llvm-project/pull/115558.diff
3 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+2)
- (modified) clang/lib/Analysis/CFG.cpp (+10-5)
- (mod
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Oleksandr T. (a-tarasyuk)
Changes
Fixes #63009
---
Full diff: https://github.com/llvm/llvm-project/pull/115558.diff
3 Files Affected:
- (modified) clang/docs/ReleaseNotes.rst (+2)
- (modified) clang/lib/Analysis/CFG.cpp (+10-5
@@ -8710,3 +8710,103 @@ Declares that a function potentially allocates heap
memory, and prevents any pot
of ``nonallocating`` by the compiler.
}];
}
+
+def WrapsDocs : Documentation {
+ let Category = DocCatField;
+ let Content = [{
+The ``wraps`` attribute can be used wit
https://github.com/a-tarasyuk created
https://github.com/llvm/llvm-project/pull/115558
Fixes #63009
>From f63263a1aa4873a63918649ea92352eb5cfe66eb Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 9 Nov 2024 00:41:13 +0200
Subject: [PATCH] [Clang] skip warnings for constructors marked with
@@ -8710,3 +8710,103 @@ Declares that a function potentially allocates heap
memory, and prevents any pot
of ``nonallocating`` by the compiler.
}];
}
+
+def WrapsDocs : Documentation {
+ let Category = DocCatField;
+ let Content = [{
+The ``wraps`` attribute can be used wit
https://github.com/JustinStitt edited
https://github.com/llvm/llvm-project/pull/115094
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,48 @@
+// RUN: %clang_cc1 %s -verify -fsyntax-only -triple x86_64-pc-linux-gnu
+typedef int __attribute__((wraps)) wrapping_int;
JustinStitt wrote:
> Can we test more types?
Yes, I'll add some more tests 😄
>
> Can the attributes be applied to point
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (smanna12)
Changes
This commit addresses two static analyzer issues in the CallBI function:
Resource Leak: Ensures that the NewFrame object is properly managed by
releasing ownership when InterpretBuiltin returns true, preventing a r
Author: Haojian Wu
Date: 2024-11-08T16:25:26+01:00
New Revision: 6737ba40406030cd8a7ea706cd56302f8be7a4b4
URL:
https://github.com/llvm/llvm-project/commit/6737ba40406030cd8a7ea706cd56302f8be7a4b4
DIFF:
https://github.com/llvm/llvm-project/commit/6737ba40406030cd8a7ea706cd56302f8be7a4b4.diff
LO
https://github.com/labrinea updated
https://github.com/llvm/llvm-project/pull/87942
>From 38eea2eca0a852965f6b3d2037c5c0f2905ce6db Mon Sep 17 00:00:00 2001
From: Alexandros Lamprineas
Date: Sun, 7 Apr 2024 16:04:12 +0100
Subject: [PATCH] [clang][FMV] Pass the '+fmv' target-feature when FMV is
philnik777 wrote:
@AaronBallman I'm not _super_ worried about these specific cases, but I'd like
to know how to proceed with `msvc` attributes we'd like to use in libc++
generally. e.g. `msvc::intrinsic` would be quite nice and doesn't actually need
to be bound to the MSVC ABI. Also, as more a
Author: Simon Pilgrim
Date: 2024-11-08T15:30:02Z
New Revision: c9552283c0bf277eba490cde9fd913510f4111c0
URL:
https://github.com/llvm/llvm-project/commit/c9552283c0bf277eba490cde9fd913510f4111c0
DIFF:
https://github.com/llvm/llvm-project/commit/c9552283c0bf277eba490cde9fd913510f4111c0.diff
LOG:
@@ -164,6 +164,40 @@ TEST_F(MatchFilePathTest, Path) {
EXPECT_FALSE(match("foo\\", R"(foo*\)"));
}
+TEST_F(MatchFilePathTest, DoubleAsterisk) {
+ EXPECT_TRUE(match("a/b/c/d.cpp", "**b**"));
+ EXPECT_TRUE(match("a/b/c/d.cpp", "**/b/**"));
+ EXPECT_TRUE(match("a/b/c/d_e.cpp
@@ -986,9 +987,22 @@ class Analyzer {
if (auto *Dtor = dyn_cast(CurrentCaller.CDecl))
followDestructor(dyn_cast(Dtor->getParent()), Dtor);
- if (auto *FD = dyn_cast(CurrentCaller.CDecl))
+ if (auto *FD = dyn_cast(CurrentCaller.CDecl)) {
Trailin
https://github.com/mizvekov approved this pull request.
LGTM, but give some time for @sdkrystian to take a look, since he is actively
working on this area.
https://github.com/llvm/llvm-project/pull/114978
___
cfe-commits mailing list
cfe-commits@lists
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/115478
>From 5a9ac5588527cf76b1933a3efbc2285c7670126b Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Fri, 8 Nov 2024 08:18:18 -0500
Subject: [PATCH 1/2] [C2y] Add test coverage and documentation for WG14 N3341
Author: Aaron Ballman
Date: 2024-11-08T12:43:19-05:00
New Revision: c3c2f46f7bd5891af13fef56a8754007f11ff6c1
URL:
https://github.com/llvm/llvm-project/commit/c3c2f46f7bd5891af13fef56a8754007f11ff6c1
DIFF:
https://github.com/llvm/llvm-project/commit/c3c2f46f7bd5891af13fef56a8754007f11ff6c1.diff
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while
building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/144/builds/11198
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on
`hpce-ve-main` while building `clang` at step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/12/builds/9226
Here is the relevant piece of the build log for th
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while
building `clang` at step 6 "Add check check-clang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/140/builds/10487
Here is
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/115516
___
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 `clang-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building `clang` at step 5 "ninja check
1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/1752
Here is the relevant piece o
Author: Aaron Ballman
Date: 2024-11-08T12:54:00-05:00
New Revision: b85e5b49d3efc37e837757a5154884648dc57113
URL:
https://github.com/llvm/llvm-project/commit/b85e5b49d3efc37e837757a5154884648dc57113
DIFF:
https://github.com/llvm/llvm-project/commit/b85e5b49d3efc37e837757a5154884648dc57113.diff
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building
`clang` at step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/133/builds/6505
Here is the relevant pie
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building
`clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/174/builds/8131
Here
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-5` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/190/builds/9132
Here is the
vitalybuka wrote:
I am comfortable accepting sanitization related stuff, and will be happy to
look into implementation details.
To me this approach is LGTM, but this patch goes beyond sanitizers into the
area of tuning behavior of UB code,
so I think we need feedback from maintainers of the rel
@@ -67,9 +67,11 @@ types specified within an ignorelist.
int a = 2147483647; // INT_MAX
++a;// Normally, an overflow with
-fsanitize=signed-integer-overflow
}
+
vitalybuka wrote:
Yes, I'ts about spaces. Even if it's useful change ju
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
Previously we added support for all of the atomic GNU extensions with
optional memory scoped except for `__atomic_thread_fence`. This patch
adds support for that. This should ideally allow us to gener
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/115545
Summary:
Previously we added support for all of the atomic GNU extensions with
optional memory scoped except for `__atomic_thread_fence`. This patch
adds support for that. This should ideally allow us to generica
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 a9cd941f392dbf99ddfcde9721bd5c485823bdf0
5b5806d9e9b516cb74d75237e493941d5bab8128 --e
@@ -5133,6 +5133,135 @@ RValue CodeGenFunction::EmitBuiltinExpr(const
GlobalDecl GD, unsigned BuiltinID,
Builder.SetInsertPoint(ContBB);
return RValue::get(nullptr);
}
+ case Builtin::BI__scoped_atomic_thread_fence: {
+auto ScopeModel = AtomicScopeModel::create(
https://github.com/jroelofs created
https://github.com/llvm/llvm-project/pull/115546
This is a partial revert of e314622f204a01ffeda59cbe046dd403b01f8b74
rdar://139237593
>From a54e1c1b7ff03fa0f29b0a64e290763d6b085df8 Mon Sep 17 00:00:00 2001
From: Jon Roelofs
Date: Fri, 8 Nov 2024 13:46:33 -
1 - 100 of 424 matches
Mail list logo