Author: h-vetinari
Date: 2024-08-23T07:51:25+08:00
New Revision: ecfceb890d47e4c11804cdc2c38f905f691ef397
URL:
https://github.com/llvm/llvm-project/commit/ecfceb890d47e4c11804cdc2c38f905f691ef397
DIFF:
https://github.com/llvm/llvm-project/commit/ecfceb890d47e4c11804cdc2c38f905f691ef397.diff
LO
https://github.com/zyn0217 closed
https://github.com/llvm/llvm-project/pull/104866
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
andykaylor wrote:
> Is the backend actually ready for this? Looking quickly at the backend, it
> looks like target-independent code is fine, but some of the target-specific
> code doesn't respect the "contract" flag on instructions.
I didn't realize I wasn't building all targets in my local sa
@@ -74,16 +75,31 @@ class formatv_object_base {
static std::pair
splitLiteralAndReplacement(StringRef Fmt);
- formatv_object_base(StringRef Fmt,
+ formatv_object_base(StringRef Fmt, bool ValidateNumArgs,
ArrayRef Adapters)
- : Fmt(Fmt), Adapte
https://github.com/Gitspike updated
https://github.com/llvm/llvm-project/pull/102152
>From 869b955eb55bc53e445a8809b56c702d7c312b46 Mon Sep 17 00:00:00 2001
From: hehouhua
Date: Wed, 7 Aug 2024 11:55:30 +0800
Subject: [PATCH 1/3] [clang][ASTMatcher] Add matches for StringLiteral which
matches
@@ -2503,6 +2503,28 @@ TEST_P(ASTMatchersTest, IsDelegatingConstructor) {
cxxConstructorDecl(isDelegatingConstructor(), parameterCountIs(1;
}
+TEST_P(ASTMatchersTest, MatchesString) {
+ StatementMatcher Literal = stringLiteral(matchesString("foo.*"));
+ EXPECT_TRUE
https://github.com/v01dXYZ created
https://github.com/llvm/llvm-project/pull/105766
Fixes https://github.com/llvm/llvm-project/issues/104614
>From 9861e901f45671f9bcf9398884dea54275d99520 Mon Sep 17 00:00:00 2001
From: v01dxyz
Date: Wed, 21 Aug 2024 23:03:01 +0200
Subject: [PATCH] (Draft) [Cla
https://github.com/MaskRay commented:
Apologies, I'm starting a 3-week vacation this Friday and will have limited
availability. Happy for other reviewers to approve.
https://github.com/llvm/llvm-project/pull/105580
___
cfe-commits mailing list
cfe-com
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/105684
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,63 @@
+# REQUIRES: shell
+# UNSUPPORTED: system-windows
+
+# RUN: rm -rf %T/baremetal_multilib
MaskRay wrote:
do not use `%T`
https://llvm.org/docs/CommandGuide/lit.html#substitutions
just use `rm -rf %t && mkdir %t` for what you do with `%T/baremeta
https://github.com/MaskRay commented:
I'm starting a 3-week vacation this Friday and will have limited availability.
Happy for other reviewers to approve.
https://github.com/llvm/llvm-project/pull/105684
___
cfe-commits mailing list
cfe-commits@lists.
@@ -130,7 +143,7 @@ class MultilibSet {
/// Select compatible variants, \returns false if none are compatible
bool select(const Multilib::flags_list &Flags,
MaskRay wrote:
For other parts of Driver, I think `const Driver &` is more commonly used as
the f
@@ -74,16 +75,31 @@ class formatv_object_base {
static std::pair
splitLiteralAndReplacement(StringRef Fmt);
- formatv_object_base(StringRef Fmt,
+ formatv_object_base(StringRef Fmt, bool ValidateNumArgs,
ArrayRef Adapters)
- : Fmt(Fmt), Adapte
ChuanqiXu9 wrote:
Yeah, while the implementation need to be polished, the shape is what I want.
https://github.com/llvm/llvm-project/pull/104512
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
https://github.com/jurahul edited
https://github.com/llvm/llvm-project/pull/105745
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/105746
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay commented:
Thanks for doing this! I support this direction as mentioned in #100453
(I'm starting a 3-week vacation this Friday and will have limited availability.
Happy for other reviewers to approve.)
https://github.com/llvm/llvm-project/pull/105746
@@ -30,8 +29,10 @@
// RUN: | FileCheck --check-prefix=CHECK-FPC-FAST %s
// RUN: %clang -### -ffast-math -ffp-contract=fast-honor-pragmas -c %s 2>&1 \
-// RUN: | FileCheck --check-prefixes=CHECK-FPC-FAST-HONOR,WARN_FM_FHP %s
-// CHECK-FPC-FAST-HONOR: "-ffp-contract=fast
https://github.com/v01dXYZ updated
https://github.com/llvm/llvm-project/pull/105766
>From 5f098139422f1ac7beeaa2ec9b762e2f6f7d4ca0 Mon Sep 17 00:00:00 2001
From: v01dxyz
Date: Wed, 21 Aug 2024 23:03:01 +0200
Subject: [PATCH] (Draft) [Clang][AArch64] Diagnose invalid system register
name
---
https://github.com/v01dXYZ edited
https://github.com/llvm/llvm-project/pull/105766
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cjappl wrote:
At least 3 more failures in this way since this reversion:
https://lab.llvm.org/buildbot/#/builders/159/builds/4477
https://lab.llvm.org/buildbot/#/builders/159/builds/4478
https://lab.llvm.org/buildbot/#/builders/159/builds/4479
I am going to re-land this tomorrow when I wake up
Author: Owen Pan
Date: 2024-08-22T20:02:48-07:00
New Revision: 714033a6bf3a81b1350f969ddd83bcd9fbb703e8
URL:
https://github.com/llvm/llvm-project/commit/714033a6bf3a81b1350f969ddd83bcd9fbb703e8
DIFF:
https://github.com/llvm/llvm-project/commit/714033a6bf3a81b1350f969ddd83bcd9fbb703e8.diff
LOG:
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/105043
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
owenca wrote:
/cherry-pick 714033a6bf3a81b1350f969ddd83bcd9fbb703e8
https://github.com/llvm/llvm-project/pull/105043
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
/pull-request llvm/llvm-project#105773
https://github.com/llvm/llvm-project/pull/105043
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vvereschaka wrote:
> Apologies, I'm starting a 3-week vacation this Friday and will have limited
> availability. Happy for other reviewers to approve.
Ok, got it. Have a great vacation!
https://github.com/llvm/llvm-project/pull/105580
___
cfe-commits
vvereschaka wrote:
The failed checks are related with the
`std/algorithms/alg.sorting/alg.merge/pstl.merge.pass.cpp` libc++ failed test.
https://github.com/llvm/llvm-project/pull/105580
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://l
https://github.com/vvereschaka ready_for_review
https://github.com/llvm/llvm-project/pull/105580
___
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: Vladimir Vereschaka (vvereschaka)
Changes
Add 'install-clang-configs' target to install the build-generated configuration
files (.cfg) into the destination 'bin' folder together with clang[++]
executables.
The build-generated configurati
https://github.com/Gitspike updated
https://github.com/llvm/llvm-project/pull/102152
>From 869b955eb55bc53e445a8809b56c702d7c312b46 Mon Sep 17 00:00:00 2001
From: hehouhua
Date: Wed, 7 Aug 2024 11:55:30 +0800
Subject: [PATCH 1/4] [clang][ASTMatcher] Add matches for StringLiteral which
matches
Author: Tom
Date: 2024-08-22T21:42:22-07:00
New Revision: 7c3237d778572931ff097e81df43d0bce9d1d4f8
URL:
https://github.com/llvm/llvm-project/commit/7c3237d778572931ff097e81df43d0bce9d1d4f8
DIFF:
https://github.com/llvm/llvm-project/commit/7c3237d778572931ff097e81df43d0bce9d1d4f8.diff
LOG: [cla
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/101882
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
@VolatileAcorn Congratulations on having your first Pull Request (PR) merged
into the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/105727
>From d8bed3f4db8056a6afa9bd7eae5d4a8361f83086 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Thu, 22 Aug 2024 23:25:31 +0300
Subject: [PATCH] [Clang] prevent assertion failure when converting vectors to
i
owenca wrote:
> @mydeveloperday, what do you think, is this good to merge?
@mydeveloperday can we merge this?
https://github.com/llvm/llvm-project/pull/96804
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
@@ -4050,7 +4050,7 @@ void
TokenAnnotator::calculateFormattingInformation(AnnotatedLine &Line) const {
ChildSize + Current->SpacesRequiredBefore;
}
-if (Current->is(TT_CtorInitializerColon))
+if (Current->isOneOf(TT_CtorInitializerColo
ziyao233 wrote:
ping @MaskRay @jansvoboda11
https://github.com/llvm/llvm-project/pull/95848
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mpark created
https://github.com/llvm/llvm-project/pull/105784
The comment talks about left-associative operators twice, when the latter
mention is actually describing right-associative operators.
>From 9c90592726137fabbcbc7388b3ce0d4bc496bfc6 Mon Sep 17 00:00:00 2001
From:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Michael Park (mpark)
Changes
The comment talks about left-associative operators twice, when the latter
mention is actually describing right-associative operators.
---
Full diff: https://github.com/llvm/llvm-project/pull/105784.diff
1 Fi
@@ -848,6 +848,8 @@ void ContinuationIndenter::addTokenOnCurrentLine(LineState
&State, bool DryRun,
const auto IsSimpleFunction = [&](const FormatToken &Tok) {
if (!Tok.FakeLParens.empty() && Tok.FakeLParens.back() > prec::Unknown)
return false;
+if (Tok.is(tok
@@ -848,6 +848,11 @@ void ContinuationIndenter::addTokenOnCurrentLine(LineState
&State, bool DryRun,
const auto IsSimpleFunction = [&](const FormatToken &Tok) {
if (!Tok.FakeLParens.empty() && Tok.FakeLParens.back() > prec::Unknown)
return false;
+// Nested cal
HighCommander4 wrote:
> Looks like I definitely don't understand what's going on. Instead let me try
> a more conservative fix. This should preserve what the current code is doing
> and just fix the assertion failure.
Could you say more about what problem you ran into with the first fix approa
hokein wrote:
Sorry for the breakage, and thanks for the revert. This is not expected, I will
take a look.
https://github.com/llvm/llvm-project/pull/104906
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/
@@ -2877,10 +2877,144 @@ void CodeGenFunction::EmitMultiVersionResolver(
case llvm::Triple::aarch64:
EmitAArch64MultiVersionResolver(Resolver, Options);
return;
+ case llvm::Triple::riscv32:
+ case llvm::Triple::riscv64:
+EmitRISCVMultiVersionResolver(Resolver,
https://github.com/BeMg updated https://github.com/llvm/llvm-project/pull/85786
>From 395ce72afbf9e4b12fcbfaf9cdbda8921c9ff72a Mon Sep 17 00:00:00 2001
From: Piyou Chen
Date: Tue, 23 Jul 2024 19:59:06 -0700
Subject: [PATCH 01/11] [RISCV][FMV] Support target_clones
---
.../clang/Basic/Diagnosti
@@ -63,9 +63,55 @@ class RISCVABIInfo : public DefaultABIInfo {
CharUnits Field2Off) const;
ABIArgInfo coerceVLSVector(QualType Ty) const;
+
+ using ABIInfo::appendAttributeMangling;
+ void appendAttributeMangling(TargetClones
@@ -2877,10 +2877,144 @@ void CodeGenFunction::EmitMultiVersionResolver(
case llvm::Triple::aarch64:
EmitAArch64MultiVersionResolver(Resolver, Options);
return;
+ case llvm::Triple::riscv32:
+ case llvm::Triple::riscv64:
+EmitRISCVMultiVersionResolver(Resolver,
@@ -2877,10 +2877,144 @@ void CodeGenFunction::EmitMultiVersionResolver(
case llvm::Triple::aarch64:
EmitAArch64MultiVersionResolver(Resolver, Options);
return;
+ case llvm::Triple::riscv32:
+ case llvm::Triple::riscv64:
+EmitRISCVMultiVersionResolver(Resolver,
@@ -2877,10 +2877,144 @@ void CodeGenFunction::EmitMultiVersionResolver(
case llvm::Triple::aarch64:
EmitAArch64MultiVersionResolver(Resolver, Options);
return;
+ case llvm::Triple::riscv32:
+ case llvm::Triple::riscv64:
+EmitRISCVMultiVersionResolver(Resolver,
@@ -63,9 +63,55 @@ class RISCVABIInfo : public DefaultABIInfo {
CharUnits Field2Off) const;
ABIArgInfo coerceVLSVector(QualType Ty) const;
+
+ using ABIInfo::appendAttributeMangling;
+ void appendAttributeMangling(TargetClones
https://github.com/MaskRay closed
https://github.com/llvm/llvm-project/pull/95848
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MaskRay wrote:
> ```shell
> ../build/bin/clang test.c -o libtest.so -fPIC -shared -v -Wl,--as-needed
> -Wl,--trace-symbol=__cxa_finalize
> ```
This command line does not close `--as-needed` with `--no-as-needed`, so `-lc`
is linked in `as-needed` mode.
The driver is not responsible for forcing
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/105789
Evaluating the attribute expression can be successful without resulting in a
value. Namely, when the expression is of type void.
>From 920eb8d753070b72b8ba0b2766333d7db9bed0a9 Mon Sep 17 00:00:00 2001
From:
301 - 353 of 353 matches
Mail list logo