https://github.com/mariusz-sikora-at-amd closed
https://github.com/llvm/llvm-project/pull/74836
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jamesETsmith updated
https://github.com/llvm/llvm-project/pull/68494
>From c4a3ccfbad090ad8314aa8ad53092edc8d5432bc Mon Sep 17 00:00:00 2001
From: James Smith
Date: Thu, 28 Sep 2023 10:11:15 -0400
Subject: [PATCH 01/17] [libc++] Implement ranges::iota and
ranges::out_value_r
https://github.com/JivanH updated
https://github.com/llvm/llvm-project/pull/75182
>From e6bf0819c96fcfbd73d711acc951065e2ed22d8c Mon Sep 17 00:00:00 2001
From: ln8-8
Date: Tue, 12 Dec 2023 12:47:32 +0400
Subject: [PATCH] [RISCV][MC] Add support for experimental Zimop extension
This implements
@@ -1950,19 +1950,17 @@ let TargetGuard = "sve2p1|sme2" in {
//FIXME: Replace IsStreamingCompatible with IsStreamingOrHasSVE2p1 when
available
def SVPEXT_SINGLE : SInst<"svpext_lane_{d}", "P}i", "QcQsQiQl", MergeNone,
"aarch64_sve_pext", [IsStreamingCompatible], [ImmCheck<1, I
luporl wrote:
Since this patch I can't build binaries with flang-new on macOS anymore:
```
$ /Users/leandro.lupori/git/flang-luporl/buildr/bin/flang-new -v -fopenmp -o
stest.exe stest.o
-L/Library/Developer/CommandLineTools/SDKs/MacOSX14.0.sdk/usr/lib
flang-new version 18.0.0git (g...@github.co
@@ -0,0 +1,839 @@
+//===- AArch64LoopIdiomTransform.cpp - Loop idiom recognition
-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -1950,19 +1950,17 @@ let TargetGuard = "sve2p1|sme2" in {
//FIXME: Replace IsStreamingCompatible with IsStreamingOrHasSVE2p1 when
available
def SVPEXT_SINGLE : SInst<"svpext_lane_{d}", "P}i", "QcQsQiQl", MergeNone,
"aarch64_sve_pext", [IsStreamingCompatible], [ImmCheck<1, I
@@ -0,0 +1,839 @@
+//===- AArch64LoopIdiomTransform.cpp - Loop idiom recognition
-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -1950,19 +1950,17 @@ let TargetGuard = "sve2p1|sme2" in {
//FIXME: Replace IsStreamingCompatible with IsStreamingOrHasSVE2p1 when
available
def SVPEXT_SINGLE : SInst<"svpext_lane_{d}", "P}i", "QcQsQiQl", MergeNone,
"aarch64_sve_pext", [IsStreamingCompatible], [ImmCheck<1, I
https://github.com/momchil-velikov edited
https://github.com/llvm/llvm-project/pull/75200
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/antoniofrighetto edited
https://github.com/llvm/llvm-project/pull/72273
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,726 @@
+
+//===- AArch64LoopIdiomTransform.cpp - Loop idiom recognition
-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier:
https://github.com/ilovepi approved this pull request.
https://github.com/llvm/llvm-project/pull/75296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jeanPerier commented:
Described logic in your comment looks good to me. I have two comments regarding
the implementation.
https://github.com/llvm/llvm-project/pull/74628
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
@@ -6,6 +6,37 @@
//
//===--===//
+// Defines a utility function for copying and padding characters
+#ifndef CHARACTER_H
+#define CHARACTER_H
jeanPerier wrote:
Did you intend to place this co
https://github.com/jeanPerier edited
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
@@ -10,13 +10,29 @@
// extensions that will eventually be implemented in Fortran.
#include "flang/Runtime/extensions.h"
+#include "flang/Runtime/character.h"
#include "flang/Runtime/command.h"
#include "flang/Runtime/descriptor.h"
#include "flang/Runtime/io-api.h"
+#if _R
choller wrote:
I looked into Tom's bug report and I hit the following assertion in a debug
build:
```
clang:
/srv/repos/llvm-project/clang/lib/StaticAnalyzer/Core/DynamicType.cpp:134:
clang::ento::ProgramStateRef
clang::ento::setDynamicTypeAndCastInfo(clang::ento::ProgramStateRef, const
cla
@@ -0,0 +1,726 @@
+
+//===- AArch64LoopIdiomTransform.cpp - Loop idiom recognition
-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier:
@@ -1191,6 +1199,84 @@ void StreamChecker::evalSetFeofFerror(const
FnDescription *Desc,
C.addTransition(State);
}
+void StreamChecker::preFflush(const FnDescription *Desc, const CallEvent &Call,
+ CheckerContext &C) const {
+ ProgramStateRef St
https://github.com/balazske edited
https://github.com/llvm/llvm-project/pull/74296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/balazske requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/74296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1191,6 +1199,84 @@ void StreamChecker::evalSetFeofFerror(const
FnDescription *Desc,
C.addTransition(State);
}
+void StreamChecker::preFflush(const FnDescription *Desc, const CallEvent &Call,
+ CheckerContext &C) const {
+ ProgramStateRef St
@@ -299,6 +299,60 @@ void error_fseek_0(void) {
fclose(F);
}
+void error_fflush_0(void) {
+ FILE *F = tmpfile();
+ int Ret;
+ fflush(NULL); // no-warning
+ if (!F) {
+if ((Ret = fflush(F)) != EOF)
+ clang_analyzer_eval(Ret == 0); // expected
@@ -1191,6 +1199,84 @@ void StreamChecker::evalSetFeofFerror(const
FnDescription *Desc,
C.addTransition(State);
}
+void StreamChecker::preFflush(const FnDescription *Desc, const CallEvent &Call,
+ CheckerContext &C) const {
+ ProgramStateRef St
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75339
>From 71695feb1770ff939c6571de98c965d87e03ad29 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 13 Dec 2023 08:35:52 -0500
Subject: [PATCH 1/3] fix strnlen build failure for z/OS
---
clang/
https://github.com/DianQK converted_to_draft
https://github.com/llvm/llvm-project/pull/74682
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
JasonWoodArm wrote:
We are also seeing the same issue when linking on Mac regarding the
ld: unknown options: --whole-archive
https://github.com/llvm/llvm-project/pull/73124
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org
DianQK wrote:
I tried adding `isCopyLikeInstr` to #75184. All known test cases have passed.
https://github.com/llvm/llvm-project/pull/74682
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-comm
https://github.com/abhina-sree updated
https://github.com/llvm/llvm-project/pull/75339
>From 71695feb1770ff939c6571de98c965d87e03ad29 Mon Sep 17 00:00:00 2001
From: Abhina Sreeskantharajan
Date: Wed, 13 Dec 2023 08:35:52 -0500
Subject: [PATCH 1/4] fix strnlen build failure for z/OS
---
clang/
@@ -0,0 +1,154 @@
+; RUN: llc -march=amdgcn -mcpu=gfx900 < %s | FileCheck %s
--check-prefixeses=GCN,GFX9
+; RUN: llc -march=amdgcn -mcpu=gfx1030 < %s | FileCheck %s
--check-prefixeses=GCN,GFX10
jayfoad wrote:
> --check-prefixeses
That's what happens when you e
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/75332
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4486,7 +4487,8 @@ static void TryReferenceListInitialization(Sema &S,
if (RefRelationship >= Sema::Ref_Related) {
// Try to bind the reference here.
TryReferenceInitializationCore(S, Entity, Kind, Initializer, cv1T1, T1,
-
https://github.com/erichkeane approved this pull request.
1 nit, otherwise LGTM
https://github.com/llvm/llvm-project/pull/75332
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ln8-8 updated https://github.com/llvm/llvm-project/pull/75182
>From e6bf0819c96fcfbd73d711acc951065e2ed22d8c Mon Sep 17 00:00:00 2001
From: ln8-8
Date: Tue, 12 Dec 2023 12:47:32 +0400
Subject: [PATCH 1/3] [RISCV][MC] Add support for experimental Zimop extension
This implement
https://github.com/kartcq updated
https://github.com/llvm/llvm-project/pull/75141
>From 98745d850c588eaf9b5d2ac6f71c79873107501f Mon Sep 17 00:00:00 2001
From: kartcq
Date: Mon, 11 Dec 2023 05:22:33 -0800
Subject: [PATCH 1/3] [polly][ScheduleOptimizer] Bail out on exceeding Schedule
compute's
mjklemm wrote:
> We are also seeing the same issue when linking on Mac regarding the ld:
> unknown options: --whole-archive
Is there an equivalent option for the MacOS linker?
https://github.com/llvm/llvm-project/pull/73124
___
cfe-commits mailing li
@@ -69,6 +69,29 @@ OpenACCDirectiveKindEx getOpenACCDirectiveKind(Token Tok) {
.Default(OpenACCDirectiveKindEx::Invalid);
}
+// Translate single-token string representations to the OpenCC Clause Kind.
+OpenACCClauseKind getOpenACCClauseKind(Token Tok) {
@@ -69,6 +69,29 @@ OpenACCDirectiveKindEx getOpenACCDirectiveKind(Token Tok) {
.Default(OpenACCDirectiveKindEx::Invalid);
}
+// Translate single-token string representations to the OpenCC Clause Kind.
+OpenACCClauseKind getOpenACCClauseKind(Token Tok) {
+ // auto is a k
@@ -208,6 +233,10 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P) {
// introspect on the spelling before then.
if (FirstTok.isNot(tok::identifier)) {
P.Diag(FirstTok, diag::err_acc_missing_directive);
+
+if (!FirstTok.isAnnotation())
+ P.ConsumeAny
@@ -262,12 +291,52 @@ OpenACCDirectiveKind ParseOpenACCDirectiveKind(Parser &P)
{
return DirKind;
}
+bool ParseOpenACCClause(Parser &P) {
erichkeane wrote:
So the individual clauses each have their own 'grammar'. I DID comment the
'clause-list' below bes
@@ -6,6 +6,37 @@
//
//===--===//
+// Defines a utility function for copying and padding characters
+#ifndef CHARACTER_H
+#define CHARACTER_H
klausler wrote:
Either way, the name of the guard
@@ -10,13 +10,29 @@
// extensions that will eventually be implemented in Fortran.
#include "flang/Runtime/extensions.h"
+#include "flang/Runtime/character.h"
#include "flang/Runtime/command.h"
#include "flang/Runtime/descriptor.h"
#include "flang/Runtime/io-api.h"
+#if _R
https://github.com/erichkeane updated
https://github.com/llvm/llvm-project/pull/75052
>From 0bcee977f95f87a5ccf7bc53d6cd0a5d9521d963 Mon Sep 17 00:00:00 2001
From: erichkeane
Date: Fri, 8 Dec 2023 09:18:40 -0800
Subject: [PATCH 1/3] [OpenACC] Add 'clause' parsing infrastructure plus a few
clau
Author: Petr Hosek
Date: 2023-12-13T07:37:12-08:00
New Revision: ae2f8167eefbc78c6b6408c9ee3b7c7965ed596a
URL:
https://github.com/llvm/llvm-project/commit/ae2f8167eefbc78c6b6408c9ee3b7c7965ed596a
DIFF:
https://github.com/llvm/llvm-project/commit/ae2f8167eefbc78c6b6408c9ee3b7c7965ed596a.diff
LO
https://github.com/ilovepi closed
https://github.com/llvm/llvm-project/pull/75296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
steakhal wrote:
Thanks for the replies.
I'll come back to this PR once I have some time; maybe during the holidays.
Both assertions directly relate to this PR for sure.
> I looked into Tom's bug report and I hit the following assertion in a debug
> build:
>
> ```
> clang:
> /srv/repos/llvm-pr
Author: CarolineConcatto
Date: 2023-12-13T15:45:59Z
New Revision: f2464ca317bfeeedddb7cbdea3c2c8ec487890bb
URL:
https://github.com/llvm/llvm-project/commit/f2464ca317bfeeedddb7cbdea3c2c8ec487890bb
DIFF:
https://github.com/llvm/llvm-project/commit/f2464ca317bfeeedddb7cbdea3c2c8ec487890bb.diff
L
https://github.com/CarolineConcatto closed
https://github.com/llvm/llvm-project/pull/69926
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c23 %s
Lancern wrote:
My concern is that names such as `attr-no-stack-protector.cpp` are too
"specific". No other single attribute has its dedicated test file under the
test directory.
https://gith
https://github.com/sdesmalen-arm approved this pull request.
https://github.com/llvm/llvm-project/pull/74064
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/knightXun created
https://github.com/llvm/llvm-project/pull/75350
fix issue: https://github.com/llvm/llvm-project/issues/75301
>From b4fcae6b7f80a9888d361ba24ce8fb5ecf1e2df3 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Wed, 13 Dec 2023 23:45:47 +0800
Subject: [PATCH] [clan
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: flyingcat (knightXun)
Changes
fix issue: https://github.com/llvm/llvm-project/issues/75301
---
Full diff: https://github.com/llvm/llvm-project/pull/75350.diff
2 Files Affected:
- (modified) clang/include/clang/Basic/DiagnosticSemaKinds
xu-chiheng wrote:
> >
> > The Cygwin driver is basically the same as MinGW driver with minor
> > difference.
>
> Right. What are the actual observable differences to what was executed
> before? (I presume this before used the `Generic_GCC` toolchain?) Also, I
> wonder if it would make sense
xu-chiheng wrote:
> @carlo-bramini has spent some effort on using Clang in Cygwin environments
> before, so as far as I know, it does work in general from before. So this
> change, which adds an entirely new driver for Cygwin environments, would need
> to be explained why it does that (I don't
xu-chiheng wrote:
> > In Cygwin with binutils 2.41, --dynamicbase make a difference, so I thought
> > MinGW also need it.
>
> No, MinGW does not need it, as it has been enabled by default since binutils
> 2.36.
>
> Apparently that change,
> https://sourceware.org/git/?p=binutils-gdb.git;a=c
@@ -0,0 +1,726 @@
+
+//===- AArch64LoopIdiomTransform.cpp - Loop idiom recognition
-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier:
https://github.com/knightXun updated
https://github.com/llvm/llvm-project/pull/75350
>From b4fcae6b7f80a9888d361ba24ce8fb5ecf1e2df3 Mon Sep 17 00:00:00 2001
From: knightXun
Date: Wed, 13 Dec 2023 23:45:47 +0800
Subject: [PATCH 1/2] [clang][sema] forbid vector_size attr when specify
`-mgeneral-
knightXun wrote:
cc @phoebewang
https://github.com/llvm/llvm-project/pull/75350
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Eli Friedman
Date: 2023-12-13T08:36:42-08:00
New Revision: d87191942dc4701fafd7e87f02305711a4fd22f2
URL:
https://github.com/llvm/llvm-project/commit/d87191942dc4701fafd7e87f02305711a4fd22f2
DIFF:
https://github.com/llvm/llvm-project/commit/d87191942dc4701fafd7e87f02305711a4fd22f2.diff
https://github.com/efriedma-quic closed
https://github.com/llvm/llvm-project/pull/74790
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/75149
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paulwalker-arm updated
https://github.com/llvm/llvm-project/pull/75217
>From 3f01bab15a8645be06ab30afa3bc42f11f3d4959 Mon Sep 17 00:00:00 2001
From: Paul Walker
Date: Wed, 29 Nov 2023 14:45:06 +
Subject: [PATCH 1/2] [LLVM][IR] Replace ConstantInt's specialisation of
getT
https://github.com/paulwalker-arm updated
https://github.com/llvm/llvm-project/pull/75217
>From 3f01bab15a8645be06ab30afa3bc42f11f3d4959 Mon Sep 17 00:00:00 2001
From: Paul Walker
Date: Wed, 29 Nov 2023 14:45:06 +
Subject: [PATCH 1/3] [LLVM][IR] Replace ConstantInt's specialisation of
getT
https://github.com/paulwalker-arm updated
https://github.com/llvm/llvm-project/pull/75217
>From 3f01bab15a8645be06ab30afa3bc42f11f3d4959 Mon Sep 17 00:00:00 2001
From: Paul Walker
Date: Wed, 29 Nov 2023 14:45:06 +
Subject: [PATCH 1/4] [LLVM][IR] Replace ConstantInt's specialisation of
getT
https://github.com/CarolineConcatto approved this pull request.
https://github.com/llvm/llvm-project/pull/75326
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paulwalker-arm updated
https://github.com/llvm/llvm-project/pull/75217
>From 3f01bab15a8645be06ab30afa3bc42f11f3d4959 Mon Sep 17 00:00:00 2001
From: Paul Walker
Date: Wed, 29 Nov 2023 14:45:06 +
Subject: [PATCH 1/5] [LLVM][IR] Replace ConstantInt's specialisation of
getT
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 142e567cf00815f7d1b3d72aaf298212a3f83ab2
07faef47ee26a68c291bd4b8dbe3f63775702876 --
https://github.com/yxsamliu created
https://github.com/llvm/llvm-project/pull/75357
Make changes to clang driver and HIPAMD to allow compile HIP programs to SPIRV
with HIPAMD toolchain.
>From 953685cdefdb12d5e477b107e88a1c3389eb2bb5 Mon Sep 17 00:00:00 2001
From: "Yaxun (Sam) Liu"
Date: Wed,
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Yaxun (Sam) Liu (yxsamliu)
Changes
Make changes to clang driver and HIPAMD to allow compile HIP programs to SPIRV
with HIPAMD toolchain.
---
Full diff: https://github.com/llvm/llvm-project/pull/75357.diff
8 Files Affected:
- (modified)
jhuber6 wrote:
Is generic the best name here? I feel like that's going to be heavily
overloaded.
https://github.com/llvm/llvm-project/pull/75357
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cf
jhuber6 wrote:
> Is generic the best name here? I feel like that's going to be heavily
> overloaded. I'd much prefer a new architecture that just treats "SPIR-V" as a
> single architecture. E.g. `--offload-arch=spirv` or something.
https://github.com/llvm/llvm-project/pull/75357
_
@@ -0,0 +1,24 @@
+// RUN: %clangxx_hwasan -O0 %s -o %t && %run %t
+
+#include
+#include
+#include
+#include
+#include
+
+int main() {
+ auto p = std::make_unique();
+ std::set ptrs;
+ for (unsigned i = 0;; ++i) {
+void *ptr = __hwasan_tag_pointer(p.get(), i);
+if (
https://github.com/thurstond approved this pull request.
https://github.com/llvm/llvm-project/pull/75267
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/75267
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
balazske wrote:
This code for the loop in `VisitTypeAliasTemplateDecl` should work:
```
for (auto *FoundDecl : FoundDecls) {
if (!FoundDecl->isInIdentifierNamespace(IDNS))
continue;
if (auto *FoundAlias = dyn_cast(FoundDecl)) {
if (IsStructuralMatch(D, FoundAlias))
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/75182
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
yxsamliu wrote:
> > Is generic the best name here? I feel like that's going to be heavily
> > overloaded. I'd much prefer a new architecture that just treats "SPIR-V" as
> > a single architecture. E.g. `--offload-arch=spirv` or something.
For HIPAMD toolchain, `--offload-arch=generic` and `--o
@@ -9284,6 +9284,29 @@ TEST_P(ASTImporterOptionSpecificTestBase,
// EXPECT_EQ(ToF1Imported->getPreviousDecl(), ToF1);
}
+TEST_P(ASTImporterOptionSpecificTestBase, ImportTypeAliasTemplateDecl) {
balazske wrote:
I like better names for the test
(`ImportTypeA
https://github.com/yi-wu-arm updated
https://github.com/llvm/llvm-project/pull/74628
>From 0e98aa7ca15b05b91813eaeeb6ae1305e5f5384d Mon Sep 17 00:00:00 2001
From: Yi Wu
Date: Mon, 6 Nov 2023 19:49:13 +
Subject: [PATCH 01/28] GETLOG runtime and extension implementation: get login
username
@@ -6,6 +6,37 @@
//
//===--===//
+// Defines a utility function for copying and padding characters
+#ifndef CHARACTER_H
+#define CHARACTER_H
yi-wu-arm wrote:
Thanks for pointing this out, I
https://github.com/paulwalker-arm updated
https://github.com/llvm/llvm-project/pull/75217
>From 3f01bab15a8645be06ab30afa3bc42f11f3d4959 Mon Sep 17 00:00:00 2001
From: Paul Walker
Date: Wed, 29 Nov 2023 14:45:06 +
Subject: [PATCH 1/6] [LLVM][IR] Replace ConstantInt's specialisation of
getT
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 a604c4b562e99470e397f050f1e8707f923ebed7
acaca0e51b3c9dd243d122368383244b7acd9ea4 --
@@ -165,6 +167,10 @@ def SP : GPRRegisterClass<(add X2)>;
def SR07 : GPRRegisterClass<(add (sequence "X%u", 8, 9),
(sequence "X%u", 18, 23))>;
+def GPRX1X5 : RegisterClass<"RISCV", [XLenVT], 32, (add X1, X5)> {
topperc wrote:
https://github.com/paulwalker-arm updated
https://github.com/llvm/llvm-project/pull/75217
>From 3f01bab15a8645be06ab30afa3bc42f11f3d4959 Mon Sep 17 00:00:00 2001
From: Paul Walker
Date: Wed, 29 Nov 2023 14:45:06 +
Subject: [PATCH 1/7] [LLVM][IR] Replace ConstantInt's specialisation of
getT
https://github.com/yi-wu-arm updated
https://github.com/llvm/llvm-project/pull/74628
>From 0e98aa7ca15b05b91813eaeeb6ae1305e5f5384d Mon Sep 17 00:00:00 2001
From: Yi Wu
Date: Mon, 6 Nov 2023 19:49:13 +
Subject: [PATCH 01/29] GETLOG runtime and extension implementation: get login
username
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c23 %s
inclyc wrote:
I just noticed that we already have test file at
`clang/test/Sema/no_stack_protector.c`, may be just update that file.
> No other single attribute has its dedicated test file un
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/3] [Clang][SVE2.1] Make the part of the name optional
@@ -1950,19 +1950,17 @@ let TargetGuard = "sve2p1|sme2" in {
//FIXME: Replace IsStreamingCompatible with IsStreamingOrHasSVE2p1 when
available
def SVPEXT_SINGLE : SInst<"svpext_lane_{d}", "P}i", "QcQsQiQl", MergeNone,
"aarch64_sve_pext", [IsStreamingCompatible], [ImmCheck<1, I
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -std=c23 %s
inclyc wrote:
PS. for cxx attribute you may create a new file.
https://github.com/llvm/llvm-project/pull/75289
___
cfe-commits mailing list
cfe-comm
https://github.com/yi-wu-arm updated
https://github.com/llvm/llvm-project/pull/74628
>From 0e98aa7ca15b05b91813eaeeb6ae1305e5f5384d Mon Sep 17 00:00:00 2001
From: Yi Wu
Date: Mon, 6 Nov 2023 19:49:13 +
Subject: [PATCH 01/30] GETLOG runtime and extension implementation: get login
username
@@ -10,13 +10,29 @@
// extensions that will eventually be implemented in Fortran.
#include "flang/Runtime/extensions.h"
+#include "flang/Runtime/character.h"
#include "flang/Runtime/command.h"
#include "flang/Runtime/descriptor.h"
#include "flang/Runtime/io-api.h"
+#if _R
https://github.com/paulwalker-arm updated
https://github.com/llvm/llvm-project/pull/75217
>From 3f01bab15a8645be06ab30afa3bc42f11f3d4959 Mon Sep 17 00:00:00 2001
From: Paul Walker
Date: Wed, 29 Nov 2023 14:45:06 +
Subject: [PATCH 1/8] [LLVM][IR] Replace ConstantInt's specialisation of
getT
https://github.com/inclyc edited https://github.com/llvm/llvm-project/pull/75289
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1341,6 +1341,26 @@ def SVWHILEHS_U32 : SInst<"svwhilege_{d}[_{1}]", "Pmm",
"PUcPUsPUiPUl", MergeNon
def SVWHILEHS_U64 : SInst<"svwhilege_{d}[_{1}]", "Pnn", "PUcPUsPUiPUl",
MergeNone, "aarch64_sve_whilehs", [IsOverloadWhile]>;
}
+let TargetGuard = "sve2p1|sme2" in {
+ d
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/74213
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Xazax-hun wrote:
> It's probably a good thing for storage locations to have types (because we
> want to be able to model the dynamic type of an object), but this probably
> means that we want to model addresses separately from storage locations.
Our knowledge of the dynamic type might change d
bjope wrote:
Here is another thing that I noticed after this patch:
https://godbolt.org/z/1P7bnKGjh
So early instcombine is eliminating an `and` operation (in the foo example),
resulting in simplifycfg not being able to collapse the control flow any longer.
Maybe I should file a separate issu
https://github.com/bd1976bris created
https://github.com/llvm/llvm-project/pull/75364
By default the implicitly declared replaceable global new and delete operators
are given a `default` visibility attribute. Previous work, see:
https://reviews.llvm.org/D53787, added `-fvisibility-global-new-d
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: bd1976bris (bd1976bris)
Changes
By default the implicitly declared replaceable global new and delete operators
are given a `default` visibility attribute. Previous work, see:
https://reviews.llvm.org/D537
101 - 200 of 399 matches
Mail list logo