https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/78680
None
>From 29b2f54387096951ecad53514251c4729d7c1947 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Fri, 19 Jan 2024 16:08:30 +0800
Subject: [PATCH] [clang][analyzer] Improve modeling of 'fdopen' in
StdLibraryFu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ben Shi (benshi001)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/78680.diff
4 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
(+10-9)
- (modified) clang/test/Analysis/
tomasz-kaminski-sonarsource wrote:
> What I don't want to lose from this patch are the changes to places like
> `InitializationStyle getInitializationStyle() const` and
> `CXXNewExpr::CXXNewExpr` where the old code was unclear and the new code is
> significantly more clear. We should not be pe
@@ -130,6 +132,8 @@ Changes to the Hexagon Backend
Changes to the LoongArch Backend
+* Respect the code model attribute of global variables when different from
+ their default values.
xen0n wrote:
"Code model of global variab
@@ -1119,6 +1119,14 @@ Windows Support
LoongArch Support
^
+- Added a code model attribute for the global variable. The following values
xen0n wrote:
"The `model` attribute is now supported for overriding the default code model
used to access
@@ -70,6 +70,8 @@ Changes to the LLVM IR
* Added `llvm.exp10` intrinsic.
+* Added a code model attribute for the `global variable
`_.
xen0n wrote:
Refer to the IR construct verbatim, i.e. `code_model`, for better readability?
https://github.com/llvm/llvm-p
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/78682
Closes #67991.
Co-authored-by: @tomekpaszek
>From 620e614b242055c3b8cbd81efd9bbc64a0ee4e56 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 18 Jan 2024 23:34:13 -0800
Subject: [PATCH] [clang-format] Option to
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Closes #67991.
Co-authored-by: @tomekpaszek
---
Full diff: https://github.com/llvm/llvm-project/pull/78682.diff
7 Files Affected:
- (modified) clang/docs/ClangFormatStyleOptio
martinboehme wrote:
> This change itself looks good to me, but I start to doubt whether we actually
> need `getResultObjectLocation` the way it is currently implemented. One of
> the red flags for me seeing some `getResultObjectLocation` calls in
> `UncheckedOptionalAccessModel.cpp`. I think m
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/78682
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-01-19T09:27:30+01:00
New Revision: 8b4bb15f6d879fd8655f9e41fee224a8a59f238c
URL:
https://github.com/llvm/llvm-project/commit/8b4bb15f6d879fd8655f9e41fee224a8a59f238c
DIFF:
https://github.com/llvm/llvm-project/commit/8b4bb15f6d879fd8655f9e41fee224a8a59f238c.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/75590
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/66514
>From 41bb52dc591ce1c154a4272abb738c80a7a57b90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Fri, 15 Sep 2023 15:5
MaskRay wrote:
> @MaskRay can you help address [#77210
> (comment)](https://github.com/llvm/llvm-project/pull/77210#issuecomment-1893860870)
> , test cases are failing on LoZ buildbot. Thanks
The test (from https://reviews.llvm.org/D7098) is about the interaction
of VLA and alloca wher
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/66514
>From 41bb52dc591ce1c154a4272abb738c80a7a57b90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Da
https://github.com/balazske approved this pull request.
https://github.com/llvm/llvm-project/pull/78680
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jplehr wrote:
@carlobertolli can you have another look at the runtime test I added to see if
that addresses your feedback?
https://github.com/llvm/llvm-project/pull/76571
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/c
@@ -11,7 +11,7 @@
#error
// expected-error@-1 {{}}
-// CHECK: error: no expected directives found: consider use of
'expected-no-diagnostics'
+// CHECK: error: no expected directives found: consider use of
'{{.*}}-no-diagnostics'
tbaederr wrote:
Th
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/66514
>From 41bb52dc591ce1c154a4272abb738c80a7a57b90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?
Author: Timm Baeder
Date: 2024-01-19T10:08:03+01:00
New Revision: 4e7cf1b1ed3824d1298d4232922f54c6295eab50
URL:
https://github.com/llvm/llvm-project/commit/4e7cf1b1ed3824d1298d4232922f54c6295eab50
DIFF:
https://github.com/llvm/llvm-project/commit/4e7cf1b1ed3824d1298d4232922f54c6295eab50.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/71315
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wangpc-pp updated
https://github.com/llvm/llvm-project/pull/76893
>From c4f7441b2809dfbb6ed4b6d97d581e3d736819fe Mon Sep 17 00:00:00 2001
From: wangpc
Date: Thu, 4 Jan 2024 13:05:53 +0800
Subject: [PATCH] [RISCV] Add B extension
It seems that we have `B` extension again: htt
https://github.com/bd1976bris updated
https://github.com/llvm/llvm-project/pull/75364
>From 97efed8c73aed4fdca5510013c844e84953ec256 Mon Sep 17 00:00:00 2001
From: Ben Dunbobbin
Date: Tue, 12 Dec 2023 08:07:17 +
Subject: [PATCH 1/4] [Sema] Provide `-fno-/-fvisibility-global-new-delete`
opt
https://github.com/bd1976bris edited
https://github.com/llvm/llvm-project/pull/75364
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bd1976bris edited
https://github.com/llvm/llvm-project/pull/75364
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bd1976bris wrote:
Given that there have been no objections I have modified this to match
@zygoloid's suggestion of `-fvisibility-global-new-delete=`. Please take
another look.
https://github.com/llvm/llvm-project/pull/75364
___
cfe-commits mailing li
https://github.com/HerrCai0907 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/78630
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/77023
>From ddecbda9f079584a55feed322d8d20b766349ab9 Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Thu, 4 Jan 2024 22:07:31 +
Subject: [PATCH 1/3] [VPlan] Introduce VPSingleDefRecipe.
This patch introduces a new
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/78670
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bd1976bris updated
https://github.com/llvm/llvm-project/pull/75364
>From 97efed8c73aed4fdca5510013c844e84953ec256 Mon Sep 17 00:00:00 2001
From: Ben Dunbobbin
Date: Tue, 12 Dec 2023 08:07:17 +
Subject: [PATCH 1/5] [Sema] Provide `-fno-/-fvisibility-global-new-delete`
opt
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/77023
>From ddecbda9f079584a55feed322d8d20b766349ab9 Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Thu, 4 Jan 2024 22:07:31 +
Subject: [PATCH 1/4] [VPlan] Introduce VPSingleDefRecipe.
This patch introduces a new
@@ -12,6 +12,8 @@
///VPBlockBase, together implementing a Hierarchical CFG;
/// 2. Pure virtual VPRecipeBase serving as the base class for recipes
contained
///within VPBasicBlocks;
+/// 3. Pure virtual VPSingleDefRecipe serving as a base class for recipes that
+///
@@ -819,10 +812,77 @@ class VPRecipeBase : public
ilist_node_with_parent,
}
\
static inline bool classof(const VPRecipeBase *R) {
\
return R->getVPDefID() == VPDefID;
@@ -819,10 +812,77 @@ class VPRecipeBase : public
ilist_node_with_parent,
}
\
static inline bool classof(const VPRecipeBase *R) {
\
return R->getVPDefID() == VPDefID;
@@ -819,10 +812,77 @@ class VPRecipeBase : public
ilist_node_with_parent,
}
\
static inline bool classof(const VPRecipeBase *R) {
\
return R->getVPDefID() == VPDefID;
@@ -912,25 +970,28 @@ class VPRecipeWithIRFlags : public VPRecipeBase {
} else if (auto *Op = dyn_cast(&I)) {
OpType = OperationType::FPMathOp;
FMFs = Op->getFastMathFlags();
+} else {
+ OpType = OperationType::Other;
+ AllFlags = 0;
--
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/77023
>From ddecbda9f079584a55feed322d8d20b766349ab9 Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Thu, 4 Jan 2024 22:07:31 +
Subject: [PATCH 1/5] [VPlan] Introduce VPSingleDefRecipe.
This patch introduces a new
zmodem wrote:
This broke lit tests on Darwin, see
https://green.lab.llvm.org/green/job/clang-stage1-RA/37026/execution/node/39/log/?consoleFull
and https://bugs.chromium.org/p/chromium/issues/detail?id=1519812
I've reverted in 4619147911c2a955bb605618bc518b45da994a81 for now.
https://github.c
https://github.com/boomanaiden154 closed
https://github.com/llvm/llvm-project/pull/76653
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/huixie90 closed
https://github.com/llvm/llvm-project/pull/71819
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/skc7 updated https://github.com/llvm/llvm-project/pull/70166
>From 45d7b14e494ce771460ba263c5573f0fb4715246 Mon Sep 17 00:00:00 2001
From: skc7
Date: Wed, 25 Oct 2023 10:46:10 +0530
Subject: [PATCH] [ASAN] For Asan instrumented globals, emit two symbols, with
actual size and
https://github.com/jcsxky updated
https://github.com/llvm/llvm-project/pull/78400
>From 08382e9f909bace4dbaf1f0c5d62d4e17978e3aa Mon Sep 17 00:00:00 2001
From: huqizhi
Date: Wed, 17 Jan 2024 14:16:34 +0800
Subject: [PATCH] fix
---
clang/lib/Sema/SemaTemplateInstantiate.cpp | 10 +-
1
cor3ntin wrote:
@MitalAshok the bot found some trailing whitespace issues
https://github.com/llvm/llvm-project/pull/77768
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/77023
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paschalis-mpeis updated
https://github.com/llvm/llvm-project/pull/78432
>From ff9557fe913fd7901cd5a18757a2a41bffbe5c0e Mon Sep 17 00:00:00 2001
From: Paschalis Mpeis
Date: Tue, 16 Jan 2024 10:53:09 +
Subject: [PATCH 1/4] LAA cannot vectorize lib calls like modf/modff
Fun
SamTebbs33 wrote:
> clang has never emitted diagnostics for failure to inline an always_inline
> function. But if gcc is doing it, maybe defaulting to an error isn't such a
> big deal.
clang does actually emit an error when it finds always_inline on a callee with
different target attributes t
@@ -2274,6 +2274,26 @@ bool LoopAccessInfo::canAnalyzeLoop() {
return true;
}
+/// Returns whether \p I is a known math library call that has attribute
+/// 'memory(argmem: write)' set.
+static bool isMathLibCallMemWriteOnly(const TargetLibraryInfo *TLI,
+
https://github.com/Fznamznon updated
https://github.com/llvm/llvm-project/pull/78316
>From cf33d7ce01aafe0fa29b8a38a9824a0b03d24f05 Mon Sep 17 00:00:00 2001
From: "Podchishchaeva, Mariya"
Date: Tue, 16 Jan 2024 09:16:10 -0800
Subject: [PATCH 1/4] [clang] Fix assertion failure with deleted overl
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/70772
>From c6c7d246b334a95306cda410e7d115353acb7c5e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Tue, 31 Oct 2023 07:17:16 +0100
Subject: [PATCH] [clang][Interp] Handle std::move etc. builtins
@@ -378,3 +378,92 @@ namespace Packs {
static_assert(foo() == 2, "");
static_assert(foo<>() == 0, "");
}
+
+namespace std {
+template struct remove_reference { using type = T; };
+template struct remove_reference { using type = T; };
+template struct remove_reference { u
frederick-vs-ja wrote:
@Endilll Oh, I'm sorry for late replying. I wasn't wating for anybody and think
this can be merged.
https://github.com/llvm/llvm-project/pull/68846
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/c
https://github.com/SamTebbs33 edited
https://github.com/llvm/llvm-project/pull/77936
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endilll wrote:
@frederick-vs-ja PR description is going to be used as a commit message. You
can edit it. Let me know when it's ready.
https://github.com/llvm/llvm-project/pull/68846
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://list
https://github.com/balazske updated
https://github.com/llvm/llvm-project/pull/76979
From c45d8c9ef074c8dbce862d88222e16c2e60be619 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bal=C3=A1zs=20K=C3=A9ri?=
Date: Thu, 4 Jan 2024 18:16:12 +0100
Subject: [PATCH 1/4] [clang][analyzer] Add missing stream rel
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/76823
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Keenuts approved this pull request.
https://github.com/llvm/llvm-project/pull/78611
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/78693
None
>From 9af31b61fce0df9a26e46f2c83e7cd8f3432b4a4 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Fri, 19 Jan 2024 18:51:40 +0800
Subject: [PATCH] [clang][analyzer] Support 'getdelim' and 'getline' in
StreamCh
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ben Shi (benshi001)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/78693.diff
4 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp (+66)
- (modified) clang/test/Analysis/Inputs/system-he
jayfoad wrote:
Some of the tests in this patch need regenerating now that #77438 has been
merged.
https://github.com/llvm/llvm-project/pull/77795
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
https://github.com/NagyDonat approved this pull request.
https://github.com/llvm/llvm-project/pull/78680
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
skc7 wrote:
#68865 and #70166 have been rebased and updated as per review comments. Please
review.
https://github.com/llvm/llvm-project/pull/70166
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
@@ -598,3 +600,27 @@ namespace B {
}
void g(B::X x) { A::f(x); }
}
+
+namespace static_operator {
+#if __cplusplus >= 201703L
MitalAshok wrote:
No way to modify things in a C++11/14 constexpr function (`++x` is not a
constant expression), so no way to make a
https://github.com/MitalAshok converted_to_draft
https://github.com/llvm/llvm-project/pull/78356
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MitalAshok wrote:
This pull request changes `E(...)` to produce the same AST as
`E.operator()(...)`, which is similar to `E.f(...)` for a static member
function `f`.
But the linked #68485 changes this to CXXOperatorCallExpr, which is more
appropriate since it is used for non-member call opera
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/78693
>From f047ec2137d63f04668f0b07be362a25fb612622 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Fri, 19 Jan 2024 18:51:40 +0800
Subject: [PATCH] [clang][analyzer] Support 'getdelim' and 'getline' in
StreamChecker
https://github.com/bd1976bris edited
https://github.com/llvm/llvm-project/pull/75364
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/77768
>From 644ec10fc357f70ca8af94ae6544e9631021eb5e Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Sat, 22 Jul 2023 20:07:00 +0100
Subject: [PATCH 1/2] [SemaCXX] Implement CWG2137 (list-initialization from
objec
@@ -3190,10 +3190,10 @@ def fno_experimental_isel : Flag<["-"],
"fno-experimental-isel">, Group,
-
Values<"Accelerate,libmvec,MASSV,SVML,SLEEF,Darwin_libsystem_m,ArmPL,none">,
+
Values<"Accelerate,libmvec,MASSV,SVML,SLEEF,Darwin_libsystem_m,ArmPL,AMDLIBM,none">,
-
https://github.com/cor3ntin created
https://github.com/llvm/llvm-project/pull/78699
Precompute the isAsciiIdentifierContinue table which is on the hot path.
https://llvm-compile-time-tracker.com/compare.php?from=30da0f5a359ab4a684c5fdf0f4dbed20bae10f99&to=cb0e48db2b8193d2ee59c2a6e998317cb220d51
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: cor3ntin (cor3ntin)
Changes
Precompute the isAsciiIdentifierContinue table which is on the hot path.
https://llvm-compile-time-tracker.com/compare.php?from=30da0f5a359ab4a684c5fdf0f4dbed20bae10f99&to=cb0e48db2b8193d2ee59c2a6e998317cb220d51
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 30da0f5a359ab4a684c5fdf0f4dbed20bae10f99
5b25a78e888086f5a9c25acab2dc446a85252ee4 --
fhahn wrote:
It looks like this may also break both Blender and Povray. Worked around build
failures in SPEC2017 in llvm-test-suite in
9b14a92d585657b87f2ca2b135ba9044685393be, but the projects will likely need to
be fixed at the source.
https://github.com/llvm/llvm-project/pull/74676
___
SuperSodaSea wrote:
Ping.
https://github.com/llvm/llvm-project/pull/68485
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,332 @@
+; RUN: opt -vector-library=AMDLIBM -passes=inject-tli-mappings,loop-vectorize
-S < %s | FileCheck %s
+
+; Test to verify that when math headers are built with
+; __FINITE_MATH_ONLY__ enabled, causing use of ___finite
+; function versions, vectorization can map
@@ -59,12 +59,29 @@ LLVM_READONLY inline bool isAsciiIdentifierStart(unsigned
char c,
return AllowDollar && c == '$';
}
+
+LLVM_READONLY inline bool isAsciiIdentifierContinue(unsigned char c) {
+ // Precomputed CHAR_UPPER|CHAR_LOWER|CHAR_DIGIT|CHAR_UNDER
+ static constexp
@@ -59,12 +59,29 @@ LLVM_READONLY inline bool isAsciiIdentifierStart(unsigned
char c,
return AllowDollar && c == '$';
}
+
+LLVM_READONLY inline bool isAsciiIdentifierContinue(unsigned char c) {
+ // Precomputed CHAR_UPPER|CHAR_LOWER|CHAR_DIGIT|CHAR_UNDER
+ static constexp
@@ -59,12 +59,29 @@ LLVM_READONLY inline bool isAsciiIdentifierStart(unsigned
char c,
return AllowDollar && c == '$';
}
+
+LLVM_READONLY inline bool isAsciiIdentifierContinue(unsigned char c) {
+ // Precomputed CHAR_UPPER|CHAR_LOWER|CHAR_DIGIT|CHAR_UNDER
+ static constexp
@@ -59,12 +59,29 @@ LLVM_READONLY inline bool isAsciiIdentifierStart(unsigned
char c,
return AllowDollar && c == '$';
}
+
+LLVM_READONLY inline bool isAsciiIdentifierContinue(unsigned char c) {
+ // Precomputed CHAR_UPPER|CHAR_LOWER|CHAR_DIGIT|CHAR_UNDER
+ static constexp
https://github.com/nikic created https://github.com/llvm/llvm-project/pull/78704
GCC 14 defines `__arm_streaming` as a macro expanding to `[[arm::streaming]]`.
Due to the nested macro use, this gets expanded prior to concatenation.
It doesn't look like C++ has a really clean way to prevent macr
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nikita Popov (nikic)
Changes
GCC 14 defines `__arm_streaming` as a macro expanding to `[[arm::streaming]]`.
Due to the nested macro use, this gets expanded prior to concatenation.
It doesn't look like C++ has a really clean way to prevent
@@ -5,6 +5,8 @@
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -dylib -arch x86_64
-macos_version_min 10.10.0 -o %t.dylib %t.o -save-temps -undefined
dynamic_lookup -exported_symbol _bar -lSystem -mllvm
-lto-discard-value-names=false
; RUN: llvm-dis %t.dylib.lto.opt.bc
@@ -760,8 +760,9 @@ KEYWORD(__builtin_available , KEYALL)
KEYWORD(__builtin_sycl_unique_stable_name, KEYSYCL)
// Keywords defined by Attr.td.
+// The "EMPTY ## X" is used to prevent early macro-expansion of the keyword.
#ifndef KEYWORD_ATTRIBUTE
-#define KEYWORD_
MitalAshok wrote:
@cor3ntin It looks like it was in an unrelated file. I've rebased and the
format check is passing now
https://github.com/llvm/llvm-project/pull/77768
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
https://github.com/kiranchandramohan approved this pull request.
LG.
https://github.com/llvm/llvm-project/pull/77944
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/huixie90 created
https://github.com/llvm/llvm-project/pull/78707
None
>From 08092c466cc04a2e41634421a1bb7f18aa612815 Mon Sep 17 00:00:00 2001
From: Hui
Date: Fri, 19 Jan 2024 12:33:43 +
Subject: [PATCH] [libc++] fix _Atomic c11 compare exchange does not update
expected
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 e4c8c5851738b7475efa1b9d500078133159369a
08092c466cc04a2e41634421a1bb7f18aa612815 --
@@ -760,8 +760,9 @@ KEYWORD(__builtin_available , KEYALL)
KEYWORD(__builtin_sycl_unique_stable_name, KEYSYCL)
// Keywords defined by Attr.td.
+// The "EMPTY ## X" is used to prevent early macro-expansion of the keyword.
#ifndef KEYWORD_ATTRIBUTE
-#define KEYWORD_
cor3ntin wrote:
Do you want me to merge on your behalf?
https://github.com/llvm/llvm-project/pull/77768
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
hahnjo wrote:
I tried applying this patch to ROOT/Cling and it fails to build because
something is of the opinion that `std::is_integral::value` is not true. I
don't have time right now to investigate further, but since this is the only
change I did it is highly likely that it's caused by this
https://github.com/jayfoad created
https://github.com/llvm/llvm-project/pull/78709
That instruction is not supported on GFX12.
Added a testcase which previously crashed without this change.
>From b212d63828ae87b8e40f9d6de7622bc7a14ce48f Mon Sep 17 00:00:00 2001
From: pvanhout
Date: Mon, 30 Oc
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
@llvm/pr-subscribers-clang
Author: Jay Foad (jayfoad)
Changes
That instruction is not supported on GFX12.
Added a testcase which previously crashed without this change.
---
Full diff: https://github.com/llvm/llvm-project/pull/78709.diff
https://github.com/kevinfrei updated
https://github.com/llvm/llvm-project/pull/78605
>From 48c6e5edc1dc5f832f8f5c922c61af9070ad341d Mon Sep 17 00:00:00 2001
From: Kevin Frei
Date: Thu, 18 Jan 2024 09:09:50 -0800
Subject: [PATCH 1/8] Added settings for cache location and timeout
---
.../Debugi
@@ -59,12 +59,29 @@ LLVM_READONLY inline bool isAsciiIdentifierStart(unsigned
char c,
return AllowDollar && c == '$';
}
+
+LLVM_READONLY inline bool isAsciiIdentifierContinue(unsigned char c) {
+ // Precomputed CHAR_UPPER|CHAR_LOWER|CHAR_DIGIT|CHAR_UNDER
+ static constexp
vgvassilev wrote:
> I tried applying this patch to ROOT/Cling and it fails to build because
> something is of the opinion that `std::is_integral::value` is not true.
> I don't have time right now to investigate further, but since this is the
> only change I did it is highly likely that it's ca
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/78699
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
steakhal wrote:
I'd advise against introducing a separate file for this, but I'm okay with
landing tests.
Given this issue, I'd be interested to look at how difficult it is to actually
fix it and commit the case along with the fix.
Have you looked at potential solutions?
https://github.com/llv
cor3ntin wrote:
I did try to apply the same treatment to the whitespace tables but it made
thing strictly worse
https://github.com/llvm/llvm-project/pull/78699
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
unterumarmung wrote:
The Windows build in the CI is stuck. The change is pretty trivial and doesn't
use any features that cannot be found in C++98. So, we can skip the Windows
check.
https://github.com/llvm/llvm-project/pull/78630
___
cfe-commits mai
Author: Daniil Dudkin
Date: 2024-01-19T15:57:02+03:00
New Revision: 24e5229230786b650a24d70bf7b10611ceb910fb
URL:
https://github.com/llvm/llvm-project/commit/24e5229230786b650a24d70bf7b10611ceb910fb
DIFF:
https://github.com/llvm/llvm-project/commit/24e5229230786b650a24d70bf7b10611ceb910fb.diff
https://github.com/unterumarmung closed
https://github.com/llvm/llvm-project/pull/78630
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 583 matches
Mail list logo