@@ -172,6 +172,11 @@ static void __init_cpu_features_constructor(unsigned long
hwcap,
// ID_AA64ISAR1_EL1.LS64 >= 0b0011
if (extractBits(ftr, 60, 4) >= 0x3)
setCPUFeature(FEAT_LS64_ACCDATA);
+
labrinea wrote:
Done
https://github.com/labrinea updated
https://github.com/llvm/llvm-project/pull/78788
>From 3c696fa3c4f5459ace01faffab0eb028f3b6f4eb Mon Sep 17 00:00:00 2001
From: Alexandros Lamprineas
Date: Fri, 19 Jan 2024 21:07:46 +
Subject: [PATCH] [AArch64][FMV] Support feature MOPS in Function Multi
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78637
>From efd07e93aed51049ad3783c701284617ae446330 Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Wed, 17 Jan 2024 11:11:59 +
Subject: [PATCH 1/2] [AArch64] Combine store (trunc X to <3 x i8>) to sequence
of
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78632
>From a786cdedc2c9a9898cd0b80d84f5b11aace5da1c Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Tue, 28 Nov 2023 15:44:02 +
Subject: [PATCH 1/2] [AArch64] Add custom lowering for load <3 x i8>.
Add custom
Endilll wrote:
> So, there is no way to consistently check on all platforms that we didn't
> crash when an error diagnostic was issued (does clang return non-zero when
> there is error diagnostic?), is that a right understanding?
Yes. On Linux and Windows `1` is returned if error diagnostic
https://github.com/rymiel closed https://github.com/llvm/llvm-project/pull/77712
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Emilia Kond
Date: 2024-01-22T14:57:37+02:00
New Revision: fa6025e25b5754e8cf39169e3a7085b57ea35de5
URL:
https://github.com/llvm/llvm-project/commit/fa6025e25b5754e8cf39169e3a7085b57ea35de5
DIFF:
https://github.com/llvm/llvm-project/commit/fa6025e25b5754e8cf39169e3a7085b57ea35de5.diff
@@ -1071,6 +1071,16 @@ TEST_F(TokenAnnotatorTest,
UnderstandsRequiresClausesAndConcepts) {
"concept C = (!Foo) && Bar;");
rymiel wrote:
88d1de5ec64210686d93a90529583505635d257d
https://github.com/llvm/llvm-project/pull/78847
https://github.com/weliveindetail closed
https://github.com/llvm/llvm-project/pull/78959
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Stefan Gränitz
Date: 2024-01-22T13:56:44+01:00
New Revision: 4821c90c24d52d4a42990fd9371caedb157bc58b
URL:
https://github.com/llvm/llvm-project/commit/4821c90c24d52d4a42990fd9371caedb157bc58b
DIFF:
weliveindetail wrote:
Thank for the quick review! Toolchain files seem to set a lowercase string
sometimes, so I added a case-conversion.
https://github.com/llvm/llvm-project/pull/78959
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
Author: Emilia Kond
Date: 2024-01-22T14:53:47+02:00
New Revision: 88d1de5ec64210686d93a90529583505635d257d
URL:
https://github.com/llvm/llvm-project/commit/88d1de5ec64210686d93a90529583505635d257d
DIFF:
https://github.com/llvm/llvm-project/commit/88d1de5ec64210686d93a90529583505635d257d.diff
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113
>From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Sun, 14 Jan 2024 14:13:08 +
Subject: [PATCH 1/4] [VPlan] Add new VPUniformPerUFRecipe, use for step
truncation.
https://github.com/weliveindetail updated
https://github.com/llvm/llvm-project/pull/78959
From 0449f8fc14a703aae515db1696bbbee578914629 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?=
Date: Sat, 20 Jan 2024 11:13:45 +0100
Subject: [PATCH 1/2] [clang-repl] Fix linker error on
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 30d6806a08f8f453d6389bdfeae4c32e937a9821
9331a454be3ca943244ddd02c934192eda98ec39 --
@@ -1469,6 +1465,47 @@ void VPReplicateRecipe::print(raw_ostream , const
Twine ,
}
#endif
+Value *VPScalarCastRecipe ::generate(VPTransformState , unsigned Part) {
+ assert(vputils::onlyFirstLaneUsed(this) &&
+ "Codegen only implemented for first lane only.");
@@ -1117,13 +1119,7 @@ void VPScalarIVStepsRecipe::execute(VPTransformState
) {
// Ensure step has the same type as that of scalar IV.
Type *BaseIVTy = BaseIV->getType()->getScalarType();
- if (BaseIVTy != Step->getType()) {
-// TODO: Also use VPDerivedIVRecipe when
@@ -362,6 +362,7 @@ class VPDef {
// START: Phi-like recipes. Need to be kept together.
VPBlendSC,
VPPredInstPHISC,
+VPScalarCastSC,
fhahn wrote:
Moved, thanks!
https://github.com/llvm/llvm-project/pull/78113
@@ -1469,6 +1465,47 @@ void VPReplicateRecipe::print(raw_ostream , const
Twine ,
}
#endif
+Value *VPScalarCastRecipe ::generate(VPTransformState , unsigned Part) {
+ assert(vputils::onlyFirstLaneUsed(this) &&
+ "Codegen only implemented for first lane only.");
+
@@ -164,6 +164,8 @@ bool VPRecipeBase::mayHaveSideEffects() const {
auto *R = cast(this);
return R->getUnderlyingInstr()->mayHaveSideEffects();
}
+ case VPScalarCastSC:
+return false;
fhahn wrote:
moved, thanks!
@@ -1338,6 +1339,34 @@ class VPWidenCastRecipe : public VPRecipeWithIRFlags {
Type *getResultType() const { return ResultTy; }
};
+/// VPScalarCastRecipe is a recipe o create scalar cast instructions.
+class VPScalarCastRecipe : public VPRecipeBase, public VPValue {
+ ///
@@ -1469,6 +1465,47 @@ void VPReplicateRecipe::print(raw_ostream , const
Twine ,
}
#endif
+Value *VPScalarCastRecipe ::generate(VPTransformState , unsigned Part) {
+ assert(vputils::onlyFirstLaneUsed(this) &&
+ "Codegen only implemented for first lane only.");
@@ -504,6 +504,15 @@ static VPValue *createScalarIVSteps(VPlan , const
InductionDescriptor ,
HeaderVPBB->insert(BaseIV->getDefiningRecipe(), IP);
}
+ VPTypeAnalysis TypeInfo(SE.getContext());
+ if (TypeInfo.inferScalarType(BaseIV) != TypeInfo.inferScalarType(Step)) {
@@ -1338,6 +1339,34 @@ class VPWidenCastRecipe : public VPRecipeWithIRFlags {
Type *getResultType() const { return ResultTy; }
};
+/// VPScalarCastRecipe is a recipe o create scalar cast instructions.
fhahn wrote:
Fixed, thanks!
@@ -1338,6 +1339,34 @@ class VPWidenCastRecipe : public VPRecipeWithIRFlags {
Type *getResultType() const { return ResultTy; }
};
+/// VPScalarCastRecipe is a recipe o create scalar cast instructions.
+class VPScalarCastRecipe : public VPRecipeBase, public VPValue {
+ ///
@@ -230,7 +230,11 @@ Type *VPTypeAnalysis::inferScalarType(const VPValue *V) {
return V->getUnderlyingValue()->getType();
})
.Case(
- [](const VPWidenCastRecipe *R) { return R->getResultType(); });
+ [](const
@@ -1338,6 +1339,34 @@ class VPWidenCastRecipe : public VPRecipeWithIRFlags {
Type *getResultType() const { return ResultTy; }
};
+/// VPScalarCastRecipe is a recipe o create scalar cast instructions.
+class VPScalarCastRecipe : public VPRecipeBase, public VPValue {
@@ -1338,6 +1339,34 @@ class VPWidenCastRecipe : public VPRecipeWithIRFlags {
Type *getResultType() const { return ResultTy; }
};
+/// VPScalarCastRecipe is a recipe o create scalar cast instructions.
+class VPScalarCastRecipe : public VPRecipeBase, public VPValue {
+ ///
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113
>From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Sun, 14 Jan 2024 14:13:08 +
Subject: [PATCH 1/3] [VPlan] Add new VPUniformPerUFRecipe, use for step
truncation.
hnakamura5 wrote:
Thank you very much!
> how small the diff is
Maybe it is by TableGen's simple syntax, and that here we are parsing only the
structure of the statements. (e.g. ignoring the `` part of `if` now).
https://github.com/llvm/llvm-project/pull/78846
bd1976bris wrote:
> > I rebased the changes onto the latest main to resolve the merge conflicts -
> > these were just textual not semantic.
>
> You may like getcord/spr :)
> https://maskray.me/blog/2023-09-09-reflections-on-llvm-switch-to-github-pull-requests#my-workflow
Thanks for the link
https://github.com/rymiel updated
https://github.com/llvm/llvm-project/pull/78847
>From 79ebbdc60cfa0635c9d889823a8b37710d9a4fb5 Mon Sep 17 00:00:00 2001
From: Emilia Kond
Date: Sat, 20 Jan 2024 15:44:16 +0200
Subject: [PATCH 1/3] [clang-format] Allow decltype in requires clause
If
https://github.com/ManuelvOK updated
https://github.com/llvm/llvm-project/pull/76950
>From 1762695354c172bb35b97017b2706d8d476121e1 Mon Sep 17 00:00:00 2001
From: Manuel Kalettka
Date: Wed, 3 Jan 2024 16:59:00 +0100
Subject: [PATCH] [Coverage] Map regions from system headers
In 2155195, the
@@ -626,11 +629,82 @@ class Cvt_PK_F32_F8_Pat;
-foreach Index = [0, -1] in {
- def : Cvt_PK_F32_F8_Pat;
- def : Cvt_PK_F32_F8_Pat;
+let SubtargetPredicate = isGFX9Only in {
+ foreach Index = [0, -1] in {
+def : Cvt_PK_F32_F8_Pat;
+def : Cvt_PK_F32_F8_Pat;
+ }
+}
+
+
ManuelvOK wrote:
Thanks for the approval. I unfortunately don't have the credentials to merge
this change. Can you do this, @petrhosek ?
https://github.com/llvm/llvm-project/pull/76950
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
Fznamznon wrote:
So, there is no way to consistently check on all platforms that we didn't crash
when an error diagnostic was issued (does clang return non-zero when there is
error diagnostic?), is that a right understanding?
Still, if the tests won't be "pretty" that is not an excuse to not
https://github.com/bd1976bris closed
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
Author: bd1976bris
Date: 2024-01-22T12:37:11Z
New Revision: 27ce26b06655cfece3d54b30e442ef93d3e78ac7
URL:
https://github.com/llvm/llvm-project/commit/27ce26b06655cfece3d54b30e442ef93d3e78ac7
DIFF:
https://github.com/llvm/llvm-project/commit/27ce26b06655cfece3d54b30e442ef93d3e78ac7.diff
LOG:
Author: Hirofumi Nakamura
Date: 2024-01-22T21:35:01+09:00
New Revision: df4ba00c7b50429fa88c3a9991e9194e2422dc76
URL:
https://github.com/llvm/llvm-project/commit/df4ba00c7b50429fa88c3a9991e9194e2422dc76
DIFF:
https://github.com/hnakamura5 closed
https://github.com/llvm/llvm-project/pull/78846
___
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/78749
>From c342eea051da7eed2ef4541e5daf445114258e1d Mon Sep 17 00:00:00 2001
From: Paschalis Mpeis
Date: Fri, 19 Jan 2024 16:27:20 +
Subject: [PATCH] [LTO] Fix Veclib flags correctly pass to LTO flags
https://github.com/paschalis-mpeis edited
https://github.com/llvm/llvm-project/pull/78749
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paschalis-mpeis edited
https://github.com/llvm/llvm-project/pull/78749
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paschalis-mpeis edited
https://github.com/llvm/llvm-project/pull/78749
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -31,3 +31,31 @@
// RUN: %clang -fveclib=Accelerate %s -nodefaultlibs -target
arm64-apple-ios8.0.0 -### 2>&1 | FileCheck
--check-prefix=CHECK-LINK-NODEFAULTLIBS %s
// CHECK-LINK-NODEFAULTLIBS-NOT: "-framework" "Accelerate"
+
+
+/* Verify that the correct vector library is
https://github.com/bd1976bris reopened
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/DanielKristofKiss approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/78788
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -172,6 +172,11 @@ static void __init_cpu_features_constructor(unsigned long
hwcap,
// ID_AA64ISAR1_EL1.LS64 >= 0b0011
if (extractBits(ftr, 60, 4) >= 0x3)
setCPUFeature(FEAT_LS64_ACCDATA);
+
DanielKristofKiss wrote:
Won't be any observable
https://github.com/philnik777 closed
https://github.com/llvm/llvm-project/pull/78712
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
kosarev wrote:
> Correct, some of these instructions use opsel[1] which in LLVM in stored in
> src1_modifiers so a dummy src1 is used.
Why can't we just use `SRCMODS.OP_SEL_1` with src0?
https://github.com/llvm/llvm-project/pull/78414
___
https://github.com/ldionne approved this pull request.
https://github.com/llvm/llvm-project/pull/78869
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/seranu updated
https://github.com/llvm/llvm-project/pull/78957
>From 501cd2230cc878189e2dde912bd659faf711a2db Mon Sep 17 00:00:00 2001
From: Serban Ungureanu
Date: Sat, 20 Jan 2024 17:02:04 +0200
Subject: [PATCH] [clang-format] Add options to set number of empty lines after
siddhesh wrote:
> Perhaps we need clarification on what GCC means by "may point to multiple
> objects" in this instance. To me that means either "get me the size of the
> largest of these multiple objects" or "size of the smallest." In my eyes,
> that means pointing to a union field.
>
It's
https://github.com/bd1976bris closed
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/mariusz-sikora-at-amd updated
https://github.com/llvm/llvm-project/pull/78729
>From eb04956ce8ad84206a95789885003dd6c6f60d2e Mon Sep 17 00:00:00 2001
From: Mariusz Sikora
Date: Fri, 19 Jan 2024 16:29:46 +0100
Subject: [PATCH] [AMDGPU][GFX12] Add tests for unsupported
https://github.com/hanickadot closed
https://github.com/llvm/llvm-project/pull/78033
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Hana Dusíková
Date: 2024-01-22T12:50:20+01:00
New Revision: 865e4a1f33bd3be42ff256c6839aff0860610a5a
URL:
https://github.com/llvm/llvm-project/commit/865e4a1f33bd3be42ff256c6839aff0860610a5a
DIFF:
https://github.com/llvm/llvm-project/commit/865e4a1f33bd3be42ff256c6839aff0860610a5a.diff
@@ -783,6 +783,28 @@ void tools::addLTOOptions(const ToolChain ,
const ArgList ,
"-generate-arange-section"));
}
+ // Pass vector library arguments to LTO.
+ Arg *ArgVecLib = Args.getLastArg(options::OPT_fveclib);
+ if (ArgVecLib
https://github.com/vgvassilev approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/78959
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Ami-zhang wrote:
Add @xen0n @xry111
https://github.com/llvm/llvm-project/pull/78962
___
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: None (Ami-zhang)
Changes
This PR adds definitions and 'frecipe' feature for FP approximation
intrinsics/builtins. In additions, this adds and complements relative testcases.
---
Patch is 35.58 KiB, truncated to 20.00 KiB below, full
https://github.com/Ami-zhang created
https://github.com/llvm/llvm-project/pull/78962
This PR adds definitions and 'frecipe' feature for FP approximation
intrinsics/builtins. In additions, this adds and complements relative testcases.
>From 3a0a9e18654b99496a11ab303ee436023036e0ee Mon Sep 17
https://github.com/MDevereau created
https://github.com/llvm/llvm-project/pull/78961
None
>From 5b7d0d25709cb13840845af67409ec74083a96c6 Mon Sep 17 00:00:00 2001
From: Matt Devereau
Date: Mon, 22 Jan 2024 11:24:59 +
Subject: [PATCH] [AArch64][SME] Take arm_sme.h out of draft
---
@@ -402,6 +402,21 @@ static void parseTargetArgs(TargetOptions ,
llvm::opt::ArgList ) {
for (const llvm::opt::Arg *currentArg :
args.filtered(clang::driver::options::OPT_target_feature))
opts.featuresAsWritten.emplace_back(currentArg->getValue());
+
+
Endilll wrote:
> Could you elaborate a bit more on that? What is the exact problem with the
> testing infrastructure? Can we just add a separate test with the cases from
> the issues, perhaps without -verify at all?
1) I think that the most reliable way to detect a crash would be to leverage
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Stefan Gränitz (weliveindetail)
Changes
I cross-compile clang-repl with GCC-10 on Ubuntu 20.04 and get this error when
linking with gold: PLT offset too large, try linking with --long-plt
---
Full diff:
https://github.com/weliveindetail created
https://github.com/llvm/llvm-project/pull/78959
I cross-compile clang-repl with GCC-10 on Ubuntu 20.04 and get this error when
linking with gold: PLT offset too large, try linking with --long-plt
From 0449f8fc14a703aae515db1696bbbee578914629 Mon Sep
https://github.com/MDevereau updated
https://github.com/llvm/llvm-project/pull/77947
>From 83374edb041c2440f6bfb9413f62882d6e7b6b19 Mon Sep 17 00:00:00 2001
From: Matt Devereau
Date: Fri, 12 Jan 2024 14:01:10 +
Subject: [PATCH 1/2] [AArch64][SME2] Refine fcvtu/fcvts/scvtf/ucvtf
Rename
https://github.com/tblah commented:
Flang changes LGTM once CI passes.
https://github.com/llvm/llvm-project/pull/75530
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
hokein wrote:
> Note that Clang 18 is going to branch soon, so this PR is going to target
> Clang 19.
Yes, this patch will not be ready before the 18 release cut, so targeting clang
19 sounds like a good plan.
As you may notice, the implementation is incomplete, and is likely far from
https://github.com/hctim closed https://github.com/llvm/llvm-project/pull/78443
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Mitch Phillips
Date: 2024-01-22T11:55:39+01:00
New Revision: c9f5b5c935bd12d76d4bafff61d8116cb3229972
URL:
https://github.com/llvm/llvm-project/commit/c9f5b5c935bd12d76d4bafff61d8116cb3229972
DIFF:
seranu wrote:
I created a new PR for separating the includes at
https://github.com/llvm/llvm-project/pull/78957 and will continue to work on
getting the top-level comment code fixed as per review comments. Closing this
PR.
https://github.com/llvm/llvm-project/pull/77918
https://github.com/seranu closed https://github.com/llvm/llvm-project/pull/77918
___
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 cc38cff05cfafb92bf91aadc39692ec5e12710a0
351995614fb6155bcb621860f18d97f727ece101 --
https://github.com/hokein updated
https://github.com/llvm/llvm-project/pull/77890
>From 0b592732066e79c7ea64bdd2550a58bc86d9b464 Mon Sep 17 00:00:00 2001
From: Haojian Wu
Date: Wed, 26 Jul 2023 09:40:12 +0200
Subject: [PATCH 1/6] [clang] WIP: Implement CTAD for type alias template.
This is a
https://github.com/seranu edited https://github.com/llvm/llvm-project/pull/78957
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/seranu edited https://github.com/llvm/llvm-project/pull/78957
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hokein updated
https://github.com/llvm/llvm-project/pull/77890
>From 0f7ac82eaf79a483159351a44782c4b375f8e31b Mon Sep 17 00:00:00 2001
From: Haojian Wu
Date: Wed, 26 Jul 2023 09:40:12 +0200
Subject: [PATCH 1/6] [clang] WIP: Implement CTAD for type alias template.
This is a
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: serbanu (seranu)
Changes
Add option to set the number of empty lines after include areas.
An include area is a list of consecutive include statements. Include areas may
be composed of multiple include blocks(group of related
https://github.com/seranu created
https://github.com/llvm/llvm-project/pull/78957
Add option to set the number of empty lines after include areas.
An include area is a list of consecutive include statements. Include areas may
be composed of multiple include blocks(group of related include
tblah wrote:
> My suggestion:
>
> * rename `Fortran_main.a` as e.g. `flang_fortran_main.a`,
>
> * introduce `-ffortran-main` on top of `-fno-fortran-main`,
>
> * disallow `-lFortran_main.a` and `-lflang_fortran_main.a` - this library
> should be kept as an implementation detail
DanielKristofKiss wrote:
ping
https://github.com/llvm/llvm-project/pull/74358
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sdesmalen-arm updated
https://github.com/llvm/llvm-project/pull/77941
>From 34da3f6446c826ec1d2c7f6eb8020d1c18146b51 Mon Sep 17 00:00:00 2001
From: Sander de Smalen
Date: Thu, 4 Jan 2024 14:03:04 +
Subject: [PATCH 1/3] [Clang] Amend SME attributes with support for ZT0.
Fznamznon wrote:
> I decided to not include tests, because our testing infrastructure is not
> ready to test that Clang doesn't crash without overspecifying the tests using
> `-verify` mode.
Could you elaborate a bit more on that? What is the exact problem with the
testing infrastructure?
=?utf-8?q?Balázs_Kéri?=
Message-ID:
In-Reply-To:
steakhal wrote:
This patch breaks a downstream test, like this:
```c++
void test_fscanf_2() {
FILE *F1 = tmpfile();
if (!F1)
return;
int a;
unsigned b;
fscanf(F1, "%d %u", , );
clang_analyzer_dump_int(a); // FP warning: 1st
https://github.com/hokein updated
https://github.com/llvm/llvm-project/pull/77890
>From 89ae5aaf3bd6b4908191902b999ef9f6782d645f Mon Sep 17 00:00:00 2001
From: Haojian Wu
Date: Wed, 26 Jul 2023 09:40:12 +0200
Subject: [PATCH 1/6] [clang] WIP: Implement CTAD for type alias template.
This is a
mbrkusanin wrote:
> > > Why is so there so much special casing in the assembler/disassembler?
> >
> >
> > I'm not an original author of these change, but from what I understand it
> > is a workaround to handle VOP3 instructions which have a single source but
> > require the use of two bits
@@ -4842,19 +4842,19 @@ bool TokenAnnotator::spaceRequiredBefore(const
AnnotatedLine ,
return true;
}
if (Left.is(TT_UnaryOperator)) {
-if (Right.isNot(tok::l_paren)) {
+if (Right.isOneOf(tok::identifier, tok::numeric_constant)) {
// The alternative
@@ -24160,6 +24160,14 @@ TEST_F(FormatTest, AlternativeOperators) {
verifyFormat("int a compl(5);");
verifyFormat("int a not(5);");
+ verifyFormat("v(not)");
+ verifyFormat("v(not!)");
+ verifyFormat("Symbol(not, None)");
+ verifyFormat("Symbol(not!, None)");
+
+
@@ -4842,19 +4842,19 @@ bool TokenAnnotator::spaceRequiredBefore(const
AnnotatedLine ,
return true;
}
if (Left.is(TT_UnaryOperator)) {
-if (Right.isNot(tok::l_paren)) {
+if (Right.isOneOf(tok::identifier, tok::numeric_constant)) {
// The alternative
https://github.com/tomasz-kaminski-sonarsource edited
https://github.com/llvm/llvm-project/pull/78793
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mbrkusanin wrote:
> > Why is so there so much special casing in the assembler/disassembler?
>
> I'm not an original author of these change, but from what I understand it is
> a workaround to handle VOP3 instructions which have a single source but
> require the use of two bits from OPSEL.
mariusz-sikora-at-amd wrote:
> Why is so there so much special casing in the assembler/disassembler?
I'm not an original author of these change, but from what I understand it is a
workaround to handle VOP3 instructions which have a single source but require
the use of two bits from OPSEL.
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/76774
>From 26bd7dc5139811b2b0d8d8642a67b67340eeb1d5 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Wed, 3 Jan 2024 11:33:17 +0800
Subject: [PATCH 1/4] Load Specializations Lazily
---
ChuanqiXu9 wrote:
In the newest push, I changed 2 things:
- In `ASTReader::LoadExternalSpecializations`, I am moving `Deserializing
LookupResults(this);` before calculating the ODR hash for template arguments.
Since I didn't realize that the ODRHash may trigger deserializing before.
- I
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/76774
>From 26bd7dc5139811b2b0d8d8642a67b67340eeb1d5 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Wed, 3 Jan 2024 11:33:17 +0800
Subject: [PATCH 1/4] Load Specializations Lazily
---
https://github.com/felixkellenbenz updated
https://github.com/llvm/llvm-project/pull/78919
>From bf376afe7bd69fd25a006890b2910f2fd32c191b Mon Sep 17 00:00:00 2001
From: Felix Kellenbenz
Date: Mon, 22 Jan 2024 00:49:21 +0100
Subject: [PATCH 1/2] Make llvm-strip not eat the .gnu_debuglink
@@ -1157,7 +1157,15 @@ void UnwrappedLineParser::parsePPDefine() {
// guard processing above, and changes preprocessing nesting.
FormatTok->Tok.setKind(tok::identifier);
FormatTok->Tok.setIdentifierInfo(Keywords.kw_internal_ident_after_define);
- nextToken();
+
+ if
https://github.com/hanickadot updated
https://github.com/llvm/llvm-project/pull/78033
From e2e0ecab6693547938274ffa0a7f517cedf52205 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hana=20Dusi=CC=81kova=CC=81?=
Date: Mon, 22 Jan 2024 00:00:43 +0100
Subject: [PATCH 1/9] [coverage] skipping code
501 - 600 of 673 matches
Mail list logo