https://github.com/jmmartinez updated
https://github.com/llvm/llvm-project/pull/133055
From bf3f06cc99a1ac2460ffea741c0fe495f0778e70 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?=
Date: Thu, 20 Mar 2025 13:23:25 +0100
Subject: [PATCH 1/3] [AMDGPU] Add "lds-bu
@@ -450,6 +453,116 @@ class StmtComparer {
};
} // namespace
+static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
+ const Attr *Attr1, const Attr *Attr2) {
+ // Two attributes are structurally equivalent if they are
@@ -1073,6 +1073,35 @@ inputs. Here is some example of ``$``-prefixed options:
Language and Target-Independent Features
+Freestanding Builds
+---
+Passing the ``-ffreestanding`` flag causes Clang to build for a freestand
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/133125
>From 75ef42d644da9136fb07014ade18b6be137426a1 Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Wed, 26 Mar 2025 12:54:29 -0400
Subject: [PATCH 01/10] [C2y] Implement WG14 N3369 and N3469 (_Countof)
C2y
@@ -0,0 +1,117 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment -verify
%s
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment
-fexperimental-new-constant-interpreter -verify %s
+
+/* WG14 N3369: Clang 21
+ * _Lengthof operator
+ *
+
@@ -0,0 +1,117 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment -verify
%s
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment
-fexperimental-new-constant-interpreter -verify %s
+
+/* WG14 N3369: Clang 21
+ * _Lengthof operator
+ *
+
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/132849
>From b5b5275093f6942238536834c6508551f7ceffd8 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Sun, 16 Mar 2025 23:34:19 +0100
Subject: [PATCH 01/12] [Clang] Improve subsumption.
The main goal of this patc
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Zahira Ammarguellat (zahiraam)
Changes
The combination of `-fcomplex-arithmetic=promoted` and `mno-x87` for `double`
complex division is leading to a crash.
See https://godbolt.org/z/189G957oY
This patch fixes that.
---
Full diff: https:/
uecker wrote:
Another comment about attributes: Attributes should not generally affect type
compatibility (in general, but also relevant for this feature) for two reasons:
1. Standard attributes are ignorable, and this would then break. 2.
Compatibility affects aliasing, one one certainly does
@@ -1073,6 +1073,35 @@ inputs. Here is some example of ``$``-prefixed options:
Language and Target-Independent Features
+Freestanding Builds
+---
+Passing the ``-ffreestanding`` flag causes Clang to build for a freestand
@@ -170,102 +132,112 @@ struct alignas(ConstraintAlignment)
FoldExpandedConstraint {
const Expr *Pattern)
: Kind(K), Constraint(std::move(C)), Pattern(Pattern) {};
- template
- bool subsumes(const FoldExpandedConstraint &Other,
-
@@ -9348,11 +9348,22 @@ void LinkerWrapper::ConstructJob(Compilation &C, const
JobAction &JA,
// Add the linker arguments to be forwarded by the wrapper.
CmdArgs.push_back(Args.MakeArgString(Twine("--linker-path=") +
LinkCommand->getE
@@ -9348,11 +9348,22 @@ void LinkerWrapper::ConstructJob(Compilation &C, const
JobAction &JA,
// Add the linker arguments to be forwarded by the wrapper.
CmdArgs.push_back(Args.MakeArgString(Twine("--linker-path=") +
LinkCommand->getE
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/133265
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide approved this pull request.
Ah, I didn’t think of that. Thanks!
https://github.com/llvm/llvm-project/pull/133169
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
@@ -4502,6 +4506,16 @@ void Driver::BuildActions(Compilation &C, DerivedArgList
&Args,
InputArg))
break;
+ // For HIP non-rdc non-device-only compilation, create a linker wrapper
yxs
@@ -39,8 +39,8 @@ void test() {
(void)std::forward_like(i); // expected-error {{no matching function
for call to 'forward_like'}}
(void)std::forward_like(i); // expected-error {{no matching function
for call to 'forward_like'}}
- using fpr = void()&;
- using fprr = v
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/116261
>From 3f3478d6708cbea9a68cac31d51e062bbe126ef8 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Thu, 14 Nov 2024 18:30:39 +0100
Subject: [PATCH] [libc++] Enable -Wmissing-prototypes
---
libcxx/include/f
Author: Aaron Ballman
Date: 2025-03-27T14:07:57-04:00
New Revision: 4480f26e939304f5aa659b72fe16746dfe96601e
URL:
https://github.com/llvm/llvm-project/commit/4480f26e939304f5aa659b72fe16746dfe96601e
DIFF:
https://github.com/llvm/llvm-project/commit/4480f26e939304f5aa659b72fe16746dfe96601e.diff
@@ -228,6 +257,42 @@ mlir::Value CIRAttrToValue::visitCirAttr(cir::FPAttr
fltAttr) {
loc, converter->convertType(fltAttr.getType()), fltAttr.getValue());
}
+// ConstArrayAttr visitor
+mlir::Value CIRAttrToValue::visitCirAttr(cir::ConstArrayAttr attr) {
+ mlir::Type llv
https://github.com/Sirraide commented:
Looks like you’ll have to update some tests because CI is failing (also, I’d be
very surprised if we didn’t have tests for this). Also, this still needs a
release note.
Maybe a fix for the virtual anchor pattern would be to somehow not emit the
warning f
alejandro-colomar wrote:
> > Thanks @AaronBallman !! I am still working on my patch, so just for
> > learning about Clang internals, I'll try to finish mine, and compare it to
> > yours. :-)
>
> Sorry for stealing this one out from under you!
No problem. :-)
> It turns out it was a bit more
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/133265
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nicovank updated
https://github.com/llvm/llvm-project/pull/133140
>From 48bb3c79069c9bad5ee01865058a155368586b2e Mon Sep 17 00:00:00 2001
From: Nicolas van Kempen
Date: Thu, 27 Mar 2025 13:28:56 -0400
Subject: [PATCH] [NFC][clang-tidy] Add type annotations to check_clang_tidy
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building
`clang,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/169/builds/9864
Here is the relevant pi
@@ -4945,12 +4959,15 @@ Action *Driver::BuildOffloadingActions(Compilation &C,
}
}
-// Compiling HIP in non-RDC mode requires linking each action individually.
+// Compiling HIP in device-only non-RDC mode requires linking each action
+// individually.
@@ -1,13 +1,10 @@
# Including the native target is important because some of LLVM's tests fail if
# you don't.
-set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
+set(LLVM_TARGETS_TO_BUILD "Native;SPIRV" CACHE STRING "")
-# Include the DirectX target for DXIL code generation,
https://github.com/perry-ca closed
https://github.com/llvm/llvm-project/pull/133169
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ariel-Burton
Date: 2025-03-27T14:26:06-04:00
New Revision: fb993cd2290c0cf71a5192f350adf12424b55890
URL:
https://github.com/llvm/llvm-project/commit/fb993cd2290c0cf71a5192f350adf12424b55890
DIFF:
https://github.com/llvm/llvm-project/commit/fb993cd2290c0cf71a5192f350adf12424b55890.diff
dreachem wrote:
@alexey-bataev For something like this:
```c++
void f()
{
#pragma omp dispatch nowait depend(inout:x)
g();
}
```
The AST dump for that function is as follows, with @SunilKuravinakop's patch:
```
`-FunctionDecl 0xed2dac8 line:7:6 f 'void ()'
`-CompoundStmt 0xed2df28
Sirraide wrote:
CC @erichkeane in case there’s a specific reason I’m not aware of as to why we
currently don’t allow this.
https://github.com/llvm/llvm-project/pull/133107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/133296
Summary:
I am probably the person most familiar with the offloading pipeline in
clang at this point.
>From 362fd1e9eb26871e956b29e2313a7495e8543bc9 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Thu, 27 Mar
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
I am probably the person most familiar with the offloading pipeline in
clang at this point.
---
Full diff: https://github.com/llvm/llvm-project/pull/133296.diff
1 Files Affected:
- (modified) cla
https://github.com/Sirraide commented:
At a glance this *does* seem like the right place to do this, but this is still
missing a release note.
It seems like GCC allows e.g. `__attribute__(()) alignas(16) int x` in any
case, so I don’t see why we shouldn’t allow this too. Can you also add some
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ayush Pareek (ayushpareek2003)
Changes
-Optimized addModuleFiles functions for both CompilerInvocation and
CowCompilerInvocation to reduce redundant function calls and improve efficiency
-Introduced memory preallocation using reserve() wh
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
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 85c54a519fa6856b3e9a462445633ed4535eafa4
cdb9b19d31816b1f5efe690e79ad6bacc4c7f882 --e
https://github.com/broxigarchen updated
https://github.com/llvm/llvm-project/pull/133298
>From a73229b233ab37e984932b99224b5aaf64b26747 Mon Sep 17 00:00:00 2001
From: guochen2
Date: Thu, 27 Mar 2025 14:41:40 -0400
Subject: [PATCH] add true16 feature in clang driver
---
clang/include/clang/Dri
@@ -3043,6 +3041,8 @@ defm fat_lto_objects : BoolFOption<"fat-lto-objects",
PosFlag,
NegFlag,
BothFlags<[], [ClangOption, CC1Option], " fat LTO object support">>;
+def flto_partitions_EQ : Joined<["-"], "flto-partitions=">, Group,
jhuber6 wrote:
To my kn
https://github.com/broxigarchen updated
https://github.com/llvm/llvm-project/pull/133298
>From a94164ac07df115a7169ff98bd77dbf15174f2ba Mon Sep 17 00:00:00 2001
From: guochen2
Date: Thu, 27 Mar 2025 14:41:40 -0400
Subject: [PATCH] add true16 feature in clang driver
---
clang/include/clang/Dri
https://github.com/broxigarchen updated
https://github.com/llvm/llvm-project/pull/133298
>From 4285b82cd89ad6c036c27bc392fb59474d15db0b Mon Sep 17 00:00:00 2001
From: guochen2
Date: Thu, 27 Mar 2025 14:41:40 -0400
Subject: [PATCH] add true16 feature in clang driver
---
clang/include/clang/Dri
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/131942
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -15,6 +15,7 @@ config.llvm_shlib_dir = "@SHLIBDIR@"
config.clangd_source_dir = "@CMAKE_CURRENT_SOURCE_DIR@/.."
config.clangd_binary_dir = "@CMAKE_CURRENT_BINARY_DIR@/.."
config.clangd_build_xpc = @CLANGD_BUILD_XPC@
+config.clangd_build_dexp = @CLANGD_BUILD_DEXP@
@@ -67,6 +67,40 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
return create(loc, attr.getType(), attr);
}
+ mlir::TypedAttr getConstNullPtrAttr(mlir::Type t) {
+assert(mlir::isa(t) && "expected cir.ptr");
+return getConstPtrAttr(t, 0);
+ }
+
+ mlir::Typ
https://github.com/frasercrmck closed
https://github.com/llvm/llvm-project/pull/132054
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Fraser Cormack
Date: 2025-03-27T14:53:19Z
New Revision: d32e71d7c732c37fd28241b85f501d7a192aa22c
URL:
https://github.com/llvm/llvm-project/commit/d32e71d7c732c37fd28241b85f501d7a192aa22c
DIFF:
https://github.com/llvm/llvm-project/commit/d32e71d7c732c37fd28241b85f501d7a192aa22c.diff
LOG
zmodem wrote:
A few notes from looking today.
Reduced main a bit further:
```
int main(int argc, const char** argv) {
volatile auto p = &FilteredBreakIteratorBuilder::createEmptyInstance;
icu::UnicodeString* St = new icu::UnicodeString("abacabadabacab", 15);
delete St;
printf("OKAY\n");
https://github.com/kraj approved this pull request.
looks good to me.
https://github.com/llvm/llvm-project/pull/133124
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mmha updated https://github.com/llvm/llvm-project/pull/133159
>From 6db5880fa7cdf6363d7e0025f811f42ec273df52 Mon Sep 17 00:00:00 2001
From: Morris Hafner
Date: Wed, 26 Mar 2025 20:50:57 +
Subject: [PATCH 1/3] [CIR] Upstream CmpOp
This patch adds support for comparison ope
@@ -514,9 +515,17 @@ mlir::LogicalResult
CIRToLLVMCastOpLowering::matchAndRewrite(
assert(!MissingFeatures::cxxABI());
assert(!MissingFeatures::dataMemberType());
break;
- case cir::CastKind::ptr_to_bool:
-assert(!cir::MissingFeatures::opCmp());
+ case cir::C
@@ -548,11 +543,28 @@ SystemZTargetLowering::SystemZTargetLowering(const
TargetMachine &TM,
}
// Handle floating-point types.
+ if (!useSoftFloat()) {
+// Promote all f16 operations to float, with some exceptions below.
+for (unsigned Opc = 0; Opc < ISD::BUILTIN_
https://github.com/kuhar approved this pull request.
https://github.com/llvm/llvm-project/pull/133205
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Farzon Lotfi (farzonl)
Changes
- Create a home for LangBuiltins
- Move all HLSL code out of AMDGPU.cpp to CGHLSLBuiltins.cpp
---
Patch is 63.61 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/133
Author: Kazu Hirata
Date: 2025-03-27T07:52:13-07:00
New Revision: 7cc17fb08597bc08ca37c90ed17981d884940e33
URL:
https://github.com/llvm/llvm-project/commit/7cc17fb08597bc08ca37c90ed17981d884940e33
DIFF:
https://github.com/llvm/llvm-project/commit/7cc17fb08597bc08ca37c90ed17981d884940e33.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/133205
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/haampie edited
https://github.com/llvm/llvm-project/pull/133263
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/V-FEXrt approved this pull request.
https://github.com/llvm/llvm-project/pull/133251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1073,6 +1073,35 @@ inputs. Here is some example of ``$``-prefixed options:
Language and Target-Independent Features
+Freestanding Builds
+---
+Passing the ``-ffreestanding`` flag causes Clang to build for a freestand
DKLoehr wrote:
@zmodem Do you mind taking a look?
https://github.com/llvm/llvm-project/pull/133265
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ryotaro Kasuga
Date: 2025-03-27T20:29:37+09:00
New Revision: 6c56a842b73cf2046b9ab8cf077890e11b758373
URL:
https://github.com/llvm/llvm-project/commit/6c56a842b73cf2046b9ab8cf077890e11b758373
DIFF:
https://github.com/llvm/llvm-project/commit/6c56a842b73cf2046b9ab8cf077890e11b758373.diff
https://github.com/haampie edited
https://github.com/llvm/llvm-project/pull/133263
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/132849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2001,3 +1932,258 @@ NormalizedConstraint::getFoldExpandedConstraint() const
{
"getFoldExpandedConstraint called on non-fold-expanded constraint.");
return cast(Constraint);
}
+
+//
+//
+// Subsumption ---
@@ -1073,6 +1073,35 @@ inputs. Here is some example of ``$``-prefixed options:
Language and Target-Independent Features
+Freestanding Builds
+---
+Passing the ``-ffreestanding`` flag causes Clang to build for a freestand
https://github.com/nicovank updated
https://github.com/llvm/llvm-project/pull/133140
>From 48bb3c79069c9bad5ee01865058a155368586b2e Mon Sep 17 00:00:00 2001
From: Nicolas van Kempen
Date: Thu, 27 Mar 2025 13:28:56 -0400
Subject: [PATCH] [NFC][clang-tidy] Add type annotations to check_clang_tidy
https://github.com/ZhongUncle converted_to_draft
https://github.com/llvm/llvm-project/pull/132510
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r
545ea0dd378912d588550a79728cc98cd4dbaa24...48bb3c79069c9bad5ee01865058a155368586b2e
clang
Author: Simon Pilgrim
Date: 2025-03-27T08:55:47Z
New Revision: f15924d1d1310527d7d78e8c66655e6b94bc241b
URL:
https://github.com/llvm/llvm-project/commit/f15924d1d1310527d7d78e8c66655e6b94bc241b
DIFF:
https://github.com/llvm/llvm-project/commit/f15924d1d1310527d7d78e8c66655e6b94bc241b.diff
LOG:
https://github.com/sumitsays updated
https://github.com/llvm/llvm-project/pull/131237
>From 6d5c4053c90975d64e378e52779dab9c3ffb64cd Mon Sep 17 00:00:00 2001
From: Sumit Agarwal
Date: Thu, 13 Mar 2025 16:02:32 -0700
Subject: [PATCH 01/12] dot2add working for dxil without sema check
---
clang/
Author: Aaron Ballman
Date: 2025-03-27T13:17:05-04:00
New Revision: 85c54a519fa6856b3e9a462445633ed4535eafa4
URL:
https://github.com/llvm/llvm-project/commit/85c54a519fa6856b3e9a462445633ed4535eafa4
DIFF:
https://github.com/llvm/llvm-project/commit/85c54a519fa6856b3e9a462445633ed4535eafa4.diff
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/132232
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2001,3 +1932,258 @@ NormalizedConstraint::getFoldExpandedConstraint() const
{
"getFoldExpandedConstraint called on non-fold-expanded constraint.");
return cast(Constraint);
}
+
+//
+//
+// Subsumption ---
Author: Aaron Ballman
Date: 2025-03-27T13:23:16-04:00
New Revision: 00c43ae23524d72707701620da89ad248393a8e4
URL:
https://github.com/llvm/llvm-project/commit/00c43ae23524d72707701620da89ad248393a8e4
DIFF:
https://github.com/llvm/llvm-project/commit/00c43ae23524d72707701620da89ad248393a8e4.diff
@@ -5834,13 +5847,27 @@ bool ASTReader::readASTFileControlBlock(
break;
case INPUT_FILE:
bool Overridden = static_cast(Record[3]);
- const size_t FilenameAsRequestedLength = Record[7] + 1;
- auto ResolvedFilenameAsRequested = Resolv
@@ -2001,3 +1932,258 @@ NormalizedConstraint::getFoldExpandedConstraint() const
{
"getFoldExpandedConstraint called on non-fold-expanded constraint.");
return cast(Constraint);
}
+
+//
+//
+// Subsumption ---
Author: cor3ntin
Date: 2025-03-27T18:23:58+01:00
New Revision: ae54f476f7d856682976f08622ee70880318a1b1
URL:
https://github.com/llvm/llvm-project/commit/ae54f476f7d856682976f08622ee70880318a1b1
DIFF:
https://github.com/llvm/llvm-project/commit/ae54f476f7d856682976f08622ee70880318a1b1.diff
LOG:
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/132849
___
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-driver
Author: Joseph Huber (jhuber6)
Changes
Summary:
The https://github.com/llvm/llvm-project/pull/128509 patch introduced
`--flto-partitions`. This was marked as a HIP only argument, and was
also spelled and handled incorrectly for an `-f` optio
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes
Message-ID:
In-Reply-To:
https://github.com/therealcoochieman updated
https://github.com/llvm/llvm-proje
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
The https://github.com/llvm/llvm-project/pull/128509 patch introduced
`--flto-partitions`. This was marked as a HIP only argument, and was
also spelled and handled incorrectly for an `-f` option. This
@@ -48,15 +48,16 @@
import re
import subprocess
import sys
+from typing import List, Tuple
nicovank wrote:
`list` and `tuple` are Python 3.9: https://peps.python.org/pep-0585/
LLVM minimum Python version is 3.8 for now:
https://github.com/llvm/llvm-project/bl
@@ -71,12 +72,12 @@ def try_run(args, raise_error=True):
# This class represents the appearance of a message prefix in a file.
class MessagePrefix:
-def __init__(self, label):
+def __init__(self, label: str):
nicovank wrote:
Good catch, thank you, I a
@@ -0,0 +1,117 @@
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment -verify
%s
+// RUN: %clang_cc1 -fsyntax-only -std=c2y -pedantic -Wall -Wno-comment
-fexperimental-new-constant-interpreter -verify %s
+
+/* WG14 N3369: Clang 21
+ * _Lengthof operator
+ *
+
https://github.com/alejandro-colomar edited
https://github.com/llvm/llvm-project/pull/133125
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/alejandro-colomar edited
https://github.com/llvm/llvm-project/pull/133125
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/132849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/133125
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -71,12 +72,13 @@ def try_run(args, raise_error=True):
# This class represents the appearance of a message prefix in a file.
class MessagePrefix:
-def __init__(self, label):
+
nicovank wrote:
Note that this space is "on purpose", the formatter wants it
https://github.com/nicovank updated
https://github.com/llvm/llvm-project/pull/133140
>From 6d0068c97341a93ee116878599c13e429082b0a8 Mon Sep 17 00:00:00 2001
From: Nicolas van Kempen
Date: Thu, 27 Mar 2025 13:35:05 -0400
Subject: [PATCH] [NFC][clang-tidy] Add type annotations to check_clang_tidy
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes
Message-ID:
In-Reply-To:
@@ -0,0 +1,12 @@
+// RUN: %clang_cl -Wpadded -Wno-msvc-not-foun
https://github.com/nicovank edited
https://github.com/llvm/llvm-project/pull/133140
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
alejandro-colomar wrote:
Thanks @AaronBallman !! I am still working on my patch, so just for learning
about Clang internals, I'll try to finish mine, and compare it to yours. :-)
Sorry for being so slow!
Cheers,
Alex
https://github.com/llvm/llvm-project/pull/133125
_
@@ -486,6 +486,24 @@ def : SysReg<"mctrctl", 0x34e>;
// Vendor CSRs
//===---
+// XSfmclic
+let FeaturesRequired = [{ {RISCV::FeatureVendorXSfmclic} }] in {
+def : SysReg<"mtvt", 0x307>;
+def : SysReg<"mnxti", 0x345>;
+def : SysReg<"m
@@ -0,0 +1,60 @@
+; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - |
FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o -
-filetype=obj | spirv-val %}
kmpeng wrote:
@s-perron Changing the target envir
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/133283
Summary:
The https://github.com/llvm/llvm-project/pull/128509 patch introduced
`--flto-partitions`. This was marked as a HIP only argument, and was
also spelled and handled incorrectly for an `-f` option. This pa
https://github.com/nicovank updated
https://github.com/llvm/llvm-project/pull/133140
>From 6d0068c97341a93ee116878599c13e429082b0a8 Mon Sep 17 00:00:00 2001
From: Nicolas van Kempen
Date: Thu, 27 Mar 2025 13:35:05 -0400
Subject: [PATCH] [NFC][clang-tidy] Add type annotations to check_clang_tidy
https://github.com/kmpeng edited
https://github.com/llvm/llvm-project/pull/132288
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner created
https://github.com/llvm/llvm-project/pull/133287
Since SPIRV is no longer an experimental target this wasn't actually enabling
it any more.
>From 5c4b19d99275440eef8a360f5d8f1affd7869e0e Mon Sep 17 00:00:00 2001
From: Justin Bogner
Date: Thu, 27 Mar 2025 10:1
Author: Joseph Huber
Date: 2025-03-27T07:34:57-05:00
New Revision: d0aa1f9c43a4a5709e060aea6c844bdcc70bcd0e
URL:
https://github.com/llvm/llvm-project/commit/d0aa1f9c43a4a5709e060aea6c844bdcc70bcd0e
DIFF:
https://github.com/llvm/llvm-project/commit/d0aa1f9c43a4a5709e060aea6c844bdcc70bcd0e.diff
@@ -486,6 +486,24 @@ def : SysReg<"mctrctl", 0x34e>;
// Vendor CSRs
//===---
+// XSfmclic
+let FeaturesRequired = [{ {RISCV::FeatureVendorXSfmclic} }] in {
+def : SysReg<"mtvt", 0x307>;
+def : SysReg<"mnxti", 0x345>;
+def : SysReg<"m
301 - 400 of 496 matches
Mail list logo