Author: fel-cab
Date: 2023-12-15T08:25:14-06:00
New Revision: b522675816d6d5c0b0ae23e14115f4aa5a081583
URL:
https://github.com/llvm/llvm-project/commit/b522675816d6d5c0b0ae23e14115f4aa5a081583
DIFF:
https://github.com/llvm/llvm-project/commit/b522675816d6d5c0b0ae23e14115f4aa5a081583.diff
LOG:
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/75528
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/75528
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -315,6 +315,223 @@ let TargetGuard = "sme2" in {
def SVBMOPS : Inst<"svbmops_za32[_{d}]_m", "viPPdd", "iUi", MergeNone,
"aarch64_sme_bmops_za32", [IsSharedZA, IsStreaming], [ImmCheck<0,
ImmCheck0_3>]>;
}
+// FMLA/FMLS
+let TargetGuard = "sme2" in {
+ def SVMLA_MULTI_VG
https://github.com/LWenH updated https://github.com/llvm/llvm-project/pull/74239
>From 8e7399015e74059731ea19468d2ee514a9a3e9a4 Mon Sep 17 00:00:00 2001
From: LWenH <924105...@qq.com>
Date: Sun, 3 Dec 2023 19:59:49 +0800
Subject: [PATCH] [mcp] Bug fix for reverted patch 70778
In pr 70778, when w
https://github.com/mjklemm edited
https://github.com/llvm/llvm-project/pull/75534
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mjklemm approved this pull request.
LGTM!
Thanks for the refactoring. This makes the code much easier to digest!
https://github.com/llvm/llvm-project/pull/75534
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
@@ -1116,73 +1116,87 @@ bool tools::addOpenMPRuntime(ArgStringList &CmdArgs,
const ToolChain &TC,
return true;
}
+/// Determines if --whole-archive is active in the list of arguments.
+static bool isWholeArchivePresent(const ArgList &Args) {
+ bool WholeArchiveActive = fal
LWenH wrote:
Resolve X86 conflict test files.
Ping.
https://github.com/llvm/llvm-project/pull/74239
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jessica Del
Date: 2023-12-15T15:49:25+01:00
New Revision: 32f9983c064557883223b585810eac3c6797d500
URL:
https://github.com/llvm/llvm-project/commit/32f9983c064557883223b585810eac3c6797d500
DIFF:
https://github.com/llvm/llvm-project/commit/32f9983c064557883223b585810eac3c6797d500.diff
L
https://github.com/OutOfCache closed
https://github.com/llvm/llvm-project/pull/74471
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8,6 +8,8 @@
// RUN: -S -Werror -emit-llvm -disable-O0-optnone -o - -x c++ %s | opt -S -p
mem2reg,instcombine,tailcallelim | FileCheck %s -check-prefix=CPP-CHECK
// RUN: %clang_cc1 -fclang-abi-compat=latest -DSVE_OVERLOADED_FORMS -triple
aarch64-none-linux-gnu -target-fea
@@ -2,7 +2,10 @@
// REQUIRES: aarch64-registered-target
// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2p1 -S
-O1 -Werror -emit-llvm -o - %s | FileCheck %s
// RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve2p1 -S
-O1 -Werror -emit-ll
https://github.com/SunilKuravinakop closed
https://github.com/llvm/llvm-project/pull/75562
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1116,73 +1116,87 @@ bool tools::addOpenMPRuntime(ArgStringList &CmdArgs,
const ToolChain &TC,
return true;
}
+/// Determines if --whole-archive is active in the list of arguments.
+static bool isWholeArchivePresent(const ArgList &Args) {
+ bool WholeArchiveActive = fal
Author: Andrzej Warzyński
Date: 2023-12-15T15:04:37Z
New Revision: 71bbfabd08d90a3007f6034e420daa66c41027db
URL:
https://github.com/llvm/llvm-project/commit/71bbfabd08d90a3007f6034e420daa66c41027db
DIFF:
https://github.com/llvm/llvm-project/commit/71bbfabd08d90a3007f6034e420daa66c41027db.diff
https://github.com/kparzysz updated
https://github.com/llvm/llvm-project/pull/75523
>From 21261fef67dbbea956adf2e09b8abacd92d9caf3 Mon Sep 17 00:00:00 2001
From: Krzysztof Parzyszek
Date: Thu, 14 Dec 2023 13:45:17 -0600
Subject: [PATCH 1/3] [flang][OpenMP] Move handling of OpenMP symbol flags t
https://github.com/banach-space closed
https://github.com/llvm/llvm-project/pull/75534
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
SunilKuravinakop wrote:
Since this has been done in https://github.com/llvm/llvm-project/pull/75419
with the change suggested by Joseph Huber, I am closing this.
https://github.com/llvm/llvm-project/pull/75562
___
cfe-commits mailing list
cfe-commits@
@@ -70,11 +70,13 @@ QualType APValue::LValueBase::getType() const {
// constexpr int *p = &arr[1]; // valid?
//
// For now, we take the most complete type we can find.
-for (auto *Redecl = cast(D->getMostRecentDecl()); Redecl;
+for (auto *Redecl = cast(D->ge
e-kud wrote:
LGTM. Thanks!
https://github.com/llvm/llvm-project/pull/75571
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1116,73 +1116,87 @@ bool tools::addOpenMPRuntime(ArgStringList &CmdArgs,
const ToolChain &TC,
return true;
}
+/// Determines if --whole-archive is active in the list of arguments.
+static bool isWholeArchivePresent(const ArgList &Args) {
+ bool WholeArchiveActive = fal
https://github.com/kparzysz closed
https://github.com/llvm/llvm-project/pull/75523
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jroelofs wrote:
Sorry about that... thanks!
https://github.com/llvm/llvm-project/pull/73685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Overhatted updated
https://github.com/llvm/llvm-project/pull/69856
>From 7a92e0a3996ea3f518b6c3d740e1122902668308 Mon Sep 17 00:00:00 2001
From: Overhatted <15021741+overhat...@users.noreply.github.com>
Date: Fri, 15 Dec 2023 15:53:56 +
Subject: [PATCH] In compilation data
jroelofs wrote:
> BTW, when compiling the file I also get a bunch of warnings in this style:
@mstorsjo maybe `unsigned long` is 32 bits on that platform... what's the
target triple?
https://github.com/llvm/llvm-project/pull/73685
___
cfe-commits mail
mstorsjo wrote:
> > BTW, when compiling the file I also get a bunch of warnings in this style:
>
> @mstorsjo maybe `unsigned long` is 32 bits on that platform... what's the
> target triple?
Ah, indeed - yes, Windows has 32 bit `long`s. The triples are
`aarch64-windows-gnu` or `aarch64-windows
https://github.com/mariusz-sikora-at-amd closed
https://github.com/llvm/llvm-project/pull/74576
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1702,6 +1705,62 @@ void SVEEmitter::createSMERangeChecks(raw_ostream &OS) {
OS << "#endif\n\n";
}
+void SVEEmitter::createStreamingAttrs(raw_ostream &OS, ACLEKind Kind) {
+ std::vector RV = Records.getAllDerivedDefinitions("Inst");
+ SmallVector, 128> Defs;
+ for (aut
jroelofs wrote:
> this file suffers from a pretty deep ifdef nesting jungle, so I'm not sure if
> that's the best solution
I'll refactor, and put up a new PR.
https://github.com/llvm/llvm-project/pull/73685
___
cfe-commits mailing list
cfe-commits@li
https://github.com/dtemirbulatov updated
https://github.com/llvm/llvm-project/pull/72487
>From 6e2c1015c6cf6b226bc9e28c563167e07b9c4074 Mon Sep 17 00:00:00 2001
From: Dinar Temirbulatov
Date: Thu, 16 Nov 2023 07:21:17 +
Subject: [PATCH 1/4] [AArch64][SME2] Add FCLAMP, CNTP builtins for SME2
https://github.com/paulwalker-arm updated
https://github.com/llvm/llvm-project/pull/75217
>From d19e9e20432c0dfe50bfba7cd782179653f42b2b Mon Sep 17 00:00:00 2001
From: Paul Walker
Date: Wed, 29 Nov 2023 14:45:06 +
Subject: [PATCH] [LLVM][IR] Replace ConstantInt's specialisation of getType()
jansvoboda11 wrote:
The new tests started failing on Apple build bot:
https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-incremental/38908/
Can you please fix these or revert the commit?
https://github.com/llvm/llvm-project/pull/65815
___
cfe-
@@ -315,6 +315,219 @@ let TargetGuard = "sme2" in {
def SVBMOPS : Inst<"svbmops_za32[_{d}]_m", "viPPdd", "iUi", MergeNone,
"aarch64_sme_bmops_za32", [IsSharedZA, IsStreaming], [ImmCheck<0,
ImmCheck0_3>]>;
}
+// FMLA/FMLS
+let TargetGuard = "sme2" in {
+ def SVMLA_MULTI_VG
https://github.com/Xazax-hun approved this pull request.
https://github.com/llvm/llvm-project/pull/75483
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sdesmalen-arm approved this pull request.
https://github.com/llvm/llvm-project/pull/72487
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -569,16 +577,26 @@ struct CounterCoverageMappingBuilder
/// Return a counter for the subtraction of \c RHS from \c LHS
Counter subtractCounters(Counter LHS, Counter RHS, bool Simplify = true) {
+if (llvm::EnableSingleByteCoverage)
+ assert(
+ 0 &&
+
@@ -234,8 +246,20 @@ struct MapRegionCounters : public
RecursiveASTVisitor {
if (Hash.getHashVersion() == PGO_HASH_V1)
return Base::TraverseIfStmt(If);
+// When single byte coverage mode is enabled, add a counter to then and
+// else.
+for (Stmt *CS : If
quic-akaryaki wrote:
Thanks for letting me know, I'm preparing a fix. By the way, is there a way to
run a buildbot manually?
https://github.com/llvm/llvm-project/pull/65815
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org
https://github.com/p4vook created
https://github.com/llvm/llvm-project/pull/75629
Check if the last translation unit or its first declaration are actually empty
and do not nead cleanup.
Previously this caused segmentation fault on empty PTUs.
Add a regression test.
Fixes: #72980
>From 2c4ab
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be
notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it i
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Pavel Kalugin (p4vook)
Changes
Check if the last translation unit or its first declaration are actually empty
and do not nead cleanup.
Previously this caused segmentation fault on empty PTUs.
Add a regression test.
Fixes: #72980
---
Fu
@@ -0,0 +1,10 @@
+// RUN: clang-repl "int x = 10;" "{ int t; a::b(t); }" "int y = 10;"
vgvassilev wrote:
Can you move this in the `code-undo.cpp` test?
https://github.com/llvm/llvm-project/pull/75629
___
cfe-commits ma
@@ -373,7 +373,15 @@ std::unique_ptr
IncrementalParser::GenModule() {
void IncrementalParser::CleanUpPTU(PartialTranslationUnit &PTU) {
TranslationUnitDecl *MostRecentTU = PTU.TUPart;
+ if (!MostRecentTU) {
+return;
+ }
vgvassilev wrote:
```suggestio
@@ -373,7 +373,15 @@ std::unique_ptr
IncrementalParser::GenModule() {
void IncrementalParser::CleanUpPTU(PartialTranslationUnit &PTU) {
TranslationUnitDecl *MostRecentTU = PTU.TUPart;
+ if (!MostRecentTU) {
+return;
+ }
+
TranslationUnitDecl *FirstTU = MostRecentTU
https://github.com/clementval updated
https://github.com/llvm/llvm-project/pull/75537
>From ae0e461d8c9c013d7d3c2d16d811df6b30e66abd Mon Sep 17 00:00:00 2001
From: Valentin Clement
Date: Thu, 14 Dec 2023 13:58:33 -0800
Subject: [PATCH] [flang][openacc/mp][NFC] Remove unused baseAddr argument
-
https://github.com/p4vook updated
https://github.com/llvm/llvm-project/pull/75629
>From 2c4ab0990b55be21ca820d84eebb46b1814bb0aa Mon Sep 17 00:00:00 2001
From: Pavel Kalugin
Date: Fri, 15 Dec 2023 15:05:45 +0300
Subject: [PATCH 1/2] [clang-repl] fix segfault in CleanUpPTU()
Check if the last t
https://github.com/p4vook updated
https://github.com/llvm/llvm-project/pull/75629
>From 2c4ab0990b55be21ca820d84eebb46b1814bb0aa Mon Sep 17 00:00:00 2001
From: Pavel Kalugin
Date: Fri, 15 Dec 2023 15:05:45 +0300
Subject: [PATCH 1/3] [clang-repl] fix segfault in CleanUpPTU()
Check if the last t
https://github.com/sdesmalen-arm approved this pull request.
Assuming the tests pass after changing `BuiltinType` to a `std::optional`, the
patch looks fine to me.
https://github.com/llvm/llvm-project/pull/75487
___
cfe-commits mailing list
cfe-commit
jansvoboda11 wrote:
> Thanks for letting me know, I'm preparing a fix. By the way, is there a way
> to run a buildbot manually?
Thanks! Not that I know of.
https://github.com/llvm/llvm-project/pull/65815
___
cfe-commits mailing list
cfe-commits@lists
@@ -0,0 +1,10 @@
+// RUN: clang-repl "int x = 10;" "{ int t; a::b(t); }" "int y = 10;"
p4vook wrote:
I don't quite understand, the `code-undo.cpp` doesn't seem to have anything
that produces an error, but this test does.
If we define a::b(t), clang-repl stops se
https://github.com/p4vook edited https://github.com/llvm/llvm-project/pull/75629
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/p4vook edited https://github.com/llvm/llvm-project/pull/75629
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
quic-akaryaki wrote:
Trying a fix in #75631.
https://github.com/llvm/llvm-project/pull/65815
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4073,6 +4221,51 @@ LValue CodeGenFunction::EmitArraySubscriptExpr(const
ArraySubscriptExpr *E,
ArrayLV = EmitLValue(Array);
auto *Idx = EmitIdxAfterBase(/*Promote*/true);
+if (SanOpts.has(SanitizerKind::ArrayBounds)) {
+ // If the array being accessed h
https://github.com/aeubanks updated
https://github.com/llvm/llvm-project/pull/75542
>From 884347b73d68e2d469b3903f248e72921434 Mon Sep 17 00:00:00 2001
From: Arthur Eubanks
Date: Thu, 14 Dec 2023 15:41:31 -0800
Subject: [PATCH 1/3] [Instrumentation][X86] Limit setting large section flag
to
@@ -0,0 +1,10 @@
+// RUN: clang-repl "int x = 10;" "{ int t; a::b(t); }" "int y = 10;"
vgvassilev wrote:
Then we can put it in a new file called `error-recovery.cpp`.
https://github.com/llvm/llvm-project/pull/75629
___
https://github.com/clementval closed
https://github.com/llvm/llvm-project/pull/75537
___
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 67aec2f58bf1568bb1c68d4906bc3c0103ff3c98
84aa367c3fd9f96b354bf49183cbd6fc8a836ffa --
https://github.com/aeubanks closed
https://github.com/llvm/llvm-project/pull/75542
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/llvm-beanz created
https://github.com/llvm/llvm-project/pull/75633
This change adds a list of supported langauges as part of the server
capabilities. This is related to a PR to add HLSL support to the clangd VSCode
plugin (https://github.com/clangd/vscode-clangd/pull/392).
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: Chris B (llvm-beanz)
Changes
This change adds a list of supported langauges as part of the server
capabilities. This is related to a PR to add HLSL support to the clangd VSCode
plugin (https://github.com/clangd/vscode-clangd/pull/392).
paulwalker-arm wrote:
Turns out there was just a single extra instance, within MLIR. It's an
interesting one though and I've noted it as it looks like I'll need to extend
`ModuleImport::getConstantAsAttr` as part of the patch that enables direct
VectorType support for ConstantInt/FP.
https:/
https://github.com/abhina-sree created
https://github.com/llvm/llvm-project/pull/75637
This patch fixes the following build error on z/OS `error: unknown type name
'Dl_info'` by adding a guard to check if we have dladdr.
>From 6b102c50136b8f49b2d678b06fb8f14f866cca70 Mon Sep 17 00:00:00 2001
F
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Abhina Sree (abhina-sree)
Changes
This patch fixes the following build error on z/OS `error: unknown type name
'Dl_info'` by adding a guard to check if we have dladdr.
---
Full diff: https://github.com/llvm/llvm-project/pull/75637.diff
jroelofs wrote:
https://github.com/llvm/llvm-project/pull/75635
https://github.com/llvm/llvm-project/pull/73685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jroelofs wrote:
Refactor here: https://github.com/llvm/llvm-project/pull/75635
https://github.com/llvm/llvm-project/pull/73685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From 6b102c50136b8f49b2d678b06fb8f14f866cca70 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 13:13:24 -0500
Subject: [PATCH 1/2] check if we have dlfcn.h and dladdr
---
clang
Zonotora wrote:
Hi, @vitalybuka @zygoloid @AaronBallman you might have something to say about
this commit
https://github.com/llvm/llvm-project/pull/75481
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
@@ -113,7 +113,7 @@ class PragmaIncludes {
llvm::DenseSet ShouldKeep;
/// Owns the strings.
- llvm::BumpPtrAllocator Arena;
+ std::shared_ptr Arena;
sam-mccall wrote:
This doesn't look threadsafe. Two PIs associated with parallel ParsedAST builds
will
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From 6b102c50136b8f49b2d678b06fb8f14f866cca70 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 13:13:24 -0500
Subject: [PATCH 1/3] check if we have dlfcn.h and dladdr
---
clang
https://github.com/p4vook updated
https://github.com/llvm/llvm-project/pull/75547
>From 97c3ed6c8a007dbca32416ebb31cf4c3bd52b264 Mon Sep 17 00:00:00 2001
From: Pavel Kalugin
Date: Fri, 15 Dec 2023 03:07:06 +0300
Subject: [PATCH 1/2] [clang-repl] fix top-level statement declaration context
Chan
vitalybuka wrote:
Is is UB?
https://github.com/llvm/llvm-project/pull/75481
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1094,6 +1114,27 @@ void ScalarExprEmitter::EmitIntegerTruncationCheck(Value
*Src, QualType SrcType,
{Src, Dst});
}
+static llvm::Value *EmitIsNegativeTestHelper(Value *V, QualType VType,
vitalybuka wrote:
Please extract lambda to function
https://github.com/p4vook updated
https://github.com/llvm/llvm-project/pull/75547
>From 97c3ed6c8a007dbca32416ebb31cf4c3bd52b264 Mon Sep 17 00:00:00 2001
From: Pavel Kalugin
Date: Fri, 15 Dec 2023 03:07:06 +0300
Subject: [PATCH 1/3] [clang-repl] fix top-level statement declaration context
Chan
vitalybuka wrote:
@LebedevRI who added implicit-integer-truncation
https://github.com/llvm/llvm-project/pull/75481
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka wrote:
> Is is UB?
I guess it follows existing convention `implicit-integer-truncation` is
convenience check and `implicit-signed-integer-truncation` is UB
https://github.com/llvm/llvm-project/pull/75481
___
cfe-commits mailing list
cfe-co
https://github.com/doru1004 created
https://github.com/llvm/llvm-project/pull/75642
Fix mapping of structs to device.
The following example fails:
```
#include
#include
struct Descriptor {
int *datum;
long int x;
int xi;
long int arr[1][30];
};
int main() {
Descriptor dat = Descr
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Gheorghe-Teodor Bercea (doru1004)
Changes
Fix mapping of structs to device.
The following example fails:
```
#include
#include
struct Descriptor {
int *datum;
long int x;
int xi;
long int arr[1][30];
};
int
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 29ee66f4a0967e43a035f147c960743c7b640f2f
2dc40b67e55985de4e9e89758d6c65eb73faac02 --
@@ -4073,6 +4221,51 @@ LValue CodeGenFunction::EmitArraySubscriptExpr(const
ArraySubscriptExpr *E,
ArrayLV = EmitLValue(Array);
auto *Idx = EmitIdxAfterBase(/*Promote*/true);
+if (SanOpts.has(SanitizerKind::ArrayBounds)) {
+ // If the array being accessed h
https://github.com/doru1004 updated
https://github.com/llvm/llvm-project/pull/75642
>From ae6cf04a149f00f52c1da8e7b9c1ca3af5393f99 Mon Sep 17 00:00:00 2001
From: Doru Bercea
Date: Fri, 15 Dec 2023 10:22:38 -0500
Subject: [PATCH] Fix mapping of structs to device.
---
clang/lib/CodeGen/CGOpenMP
https://github.com/rjmccall edited
https://github.com/llvm/llvm-project/pull/73730
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
silee2 wrote:
Closing as all sub-components has been merged.
https://github.com/llvm/llvm-project/pull/65539
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/silee2 closed https://github.com/llvm/llvm-project/pull/65539
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
yi-wu-arm wrote:
Windows CI failure: compiler out of heap space.
https://github.com/llvm/llvm-project/pull/74628
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4073,6 +4221,51 @@ LValue CodeGenFunction::EmitArraySubscriptExpr(const
ArraySubscriptExpr *E,
ArrayLV = EmitLValue(Array);
auto *Idx = EmitIdxAfterBase(/*Promote*/true);
+if (SanOpts.has(SanitizerKind::ArrayBounds)) {
+ // If the array being accessed h
@@ -4022,8 +4169,36 @@ LValue CodeGenFunction::EmitArraySubscriptExpr(const
ArraySubscriptExpr *E,
ArrayLV = EmitArraySubscriptExpr(ASE, /*Accessed*/ true);
else
ArrayLV = EmitLValue(Array);
+
auto *Idx = EmitIdxAfterBase(/*Promote*/true);
+if (SanOp
https://github.com/momchil-velikov updated
https://github.com/llvm/llvm-project/pull/75117
>From e11897d680dbb892aa645a6fc7f63f91fde3bd7c Mon Sep 17 00:00:00 2001
From: Momchil Velikov
Date: Mon, 11 Dec 2023 23:25:07 +
Subject: [PATCH 1/2] [Clang][SVE2.1] Add floating-point variants of
`sv
https://github.com/doru1004 updated
https://github.com/llvm/llvm-project/pull/75642
>From e0e1f5e7bb2f95f2568b5dd647b883f4740bcafd Mon Sep 17 00:00:00 2001
From: Doru Bercea
Date: Fri, 15 Dec 2023 10:22:38 -0500
Subject: [PATCH] Fix mapping of structs to device.
---
clang/lib/CodeGen/CGOpenMP
https://github.com/doru1004 updated
https://github.com/llvm/llvm-project/pull/75642
>From 32454489d4e77f22ab935827dffe0febbb7b0626 Mon Sep 17 00:00:00 2001
From: Doru Bercea
Date: Fri, 15 Dec 2023 10:22:38 -0500
Subject: [PATCH] Fix mapping of structs to device.
---
clang/lib/CodeGen/CGOpenMP
Author: Philip Reames
Date: 2023-12-15T11:08:09-08:00
New Revision: 0b7dda3d4cbe6a4180fd80f91e9f29e474c1d896
URL:
https://github.com/llvm/llvm-project/commit/0b7dda3d4cbe6a4180fd80f91e9f29e474c1d896
DIFF:
https://github.com/llvm/llvm-project/commit/0b7dda3d4cbe6a4180fd80f91e9f29e474c1d896.diff
doru1004 wrote:
@alexey-bataev I have reworked the previous patch with your advice in mind. The
emitCombinedEntry function was not changed since eliminating the combined entry
has many ramifications which would need to be handled in a separate patch. For
now this fixes the immediate error in a
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From fa5de46426920ed3592fcd0b0dd5b810b62d22c1 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 13:13:24 -0500
Subject: [PATCH] check if we have dlfcn.h and dladdr
---
clang/too
https://github.com/momchil-velikov updated
https://github.com/llvm/llvm-project/pull/75200
>From bb881371fb036819a1d6489a9779e2c5ac7e7d3c Mon Sep 17 00:00:00 2001
From: Momchil Velikov
Date: Tue, 12 Dec 2023 15:08:33 +
Subject: [PATCH 1/4] [Clang][SVE2.1] Make the part of the name optional
@@ -37,6 +38,27 @@ class ASTConsumer {
friend class SemaConsumer;
+public:
+ /// Allow type-based aliasing information to be interrogated by the AST
+ /// producer (for diagnostics).
+ class TypeAliasing {
urnathan wrote:
Oh, we also endup deriving from
@@ -498,3 +498,137 @@
CodeGenTBAA::mergeTBAAInfoForMemoryTransfer(TBAAAccessInfo DestInfo,
// access type regardless of their base types.
return TBAAAccessInfo::getMayAliasInfo();
}
+
+// Determine the aliasing kind bit-converting from type Src to type Dst.
+CodeGenTBAA::A
urnathan wrote:
> > > FWIW the GCC doc is
> > > https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstrict-aliasing_003dn
> > > It says for Level 3 "If optimization is enabled, it also runs in the
> > > back end, where it deals with multiple statement cases using
> > > flow-sensiti
@@ -4022,8 +4169,36 @@ LValue CodeGenFunction::EmitArraySubscriptExpr(const
ArraySubscriptExpr *E,
ArrayLV = EmitArraySubscriptExpr(ASE, /*Accessed*/ true);
else
ArrayLV = EmitLValue(Array);
+
auto *Idx = EmitIdxAfterBase(/*Promote*/true);
+if (SanOp
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75637
>From 61385bf2fa5c7369812eed6d40d04599f2383ee0 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Fri, 15 Dec 2023 14:39:23 -0500
Subject: [PATCH] check if we have dlfcn.h and dladdr
---
clang/too
101 - 200 of 305 matches
Mail list logo