Author: Timm Baeder
Date: 2025-07-09T07:59:45+02:00
New Revision: f7a09222f42a3fbb44ecbf8b1dd52583fb60efa8
URL:
https://github.com/llvm/llvm-project/commit/f7a09222f42a3fbb44ecbf8b1dd52583fb60efa8
DIFF:
https://github.com/llvm/llvm-project/commit/f7a09222f42a3fbb44ecbf8b1dd52583fb60efa8.diff
L
@@ -0,0 +1,260 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// 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
@@ -923,6 +923,7 @@ Bug Fixes to C++ Support
- Improved handling of variables with ``consteval`` constructors, to
consistently treat the initializer as manifestly constant-evaluated.
(#GH135281)
+- Switch `ParseBaseClause` to use `BaseResult::isUsable()` instead of
`isInva
github-actions[bot] wrote:
@localspook 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 bui
Author: Victor Chernyakin
Date: 2025-07-09T08:21:40+03:00
New Revision: fbc4255ffcb8412a098926c7fc1ede823d6fb0e5
URL:
https://github.com/llvm/llvm-project/commit/fbc4255ffcb8412a098926c7fc1ede823d6fb0e5
DIFF:
https://github.com/llvm/llvm-project/commit/fbc4255ffcb8412a098926c7fc1ede823d6fb0e5.d
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/147074
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tonykuttai updated
https://github.com/llvm/llvm-project/pull/147584
>From 8530b1d115c06c1796b640ce16de47fce684a469 Mon Sep 17 00:00:00 2001
From: Tony Varghese
Date: Tue, 8 Jul 2025 18:55:31 +
Subject: [PATCH 1/2] [NFC][PowerPC][clang] Update
clang/test/Driver/aix-defaul
https://github.com/tonykuttai updated
https://github.com/llvm/llvm-project/pull/147584
>From 8530b1d115c06c1796b640ce16de47fce684a469 Mon Sep 17 00:00:00 2001
From: Tony Varghese
Date: Tue, 8 Jul 2025 18:55:31 +
Subject: [PATCH 1/2] [NFC][PowerPC][clang] Update
clang/test/Driver/aix-defaul
@@ -2252,7 +2252,10 @@ void Parser::ParseBaseClause(Decl *ClassDecl) {
while (true) {
// Parse a base-specifier.
BaseResult Result = ParseBaseSpecifier(ClassDecl);
-if (Result.isInvalid()) {
+// Skip any base-specifier we couldn’t actually build into a usable
@@ -0,0 +1,13 @@
+// Tests that invalid base-specifiers no longer crash the compiler.
+// RUN: %clang_cc1 -std=c++20 -fsyntax-only -verify %s
+
+class X; // expected-note {{forward declaration of 'X'}} expected-note
{{forward declaration of 'X'}}
+
+class A : X { // expected-erro
https://github.com/cor3ntin approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/147213
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/147213
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tclin914 wrote:
> I agree with you that it's easier to maintain, btw are you going to do that
> for all extensions?
For now, I'm going to do this for zvfh/zvfhmin/zvfbfmin/zvfbfwma.
https://github.com/llvm/llvm-project/pull/147644
___
cfe-commits mai
@@ -9,7 +9,6 @@ define i32 @foobar() gc "statepoint-example" personality ptr
@__gxx_personality_
; CHECK-NEXT:.seh_endprologue
; CHECK-NEXT:callq bar
; CHECK-NEXT: .Ltmp0:
-; CHECK-NEXT:nop
efriedma-quic wrote:
Looking a bit more, if you drop the
@@ -9,7 +9,6 @@ define i32 @foobar() gc "statepoint-example" personality ptr
@__gxx_personality_
; CHECK-NEXT:.seh_endprologue
; CHECK-NEXT:callq bar
; CHECK-NEXT: .Ltmp0:
-; CHECK-NEXT:nop
efriedma-quic wrote:
So the conclusion here is this part
@@ -2537,26 +2538,6 @@ void X86AsmPrinter::emitInstruction(const MachineInstr
*MI) {
case X86::SEH_BeginEpilogue: {
assert(MF->hasWinCFI() && "SEH_ instruction in function without WinCFI?");
-// Windows unwinder will not invoke function's exception handler if IP is
@@ -2660,6 +2644,133 @@ void X86AsmPrinter::emitCallInstruction(const
llvm::MCInst &MCI) {
OutStreamer->emitInstruction(MCI, getSubtargetInfo());
}
+// Checks whether a NOP is required after a CALL and inserts the NOP, if
+// necessary.
+void X86AsmPrinter::emitNopAfterCall
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fixes #147341
---
Full diff: https://github.com/llvm/llvm-project/pull/147648.diff
5 Files Affected:
- (modified) clang/docs/ClangFormatStyleOptions.rst (+3-3)
- (modified) clang/include/clang/Format/Fo
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/147648
Fixes #147341
>From 3efb5ca11d67ad36c4cbb1ea78220a1ca69a8339 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Tue, 8 Jul 2025 21:16:12 -0700
Subject: [PATCH] [clang-format] Split line comments separated by backslas
Author: Brandon Wu
Date: 2025-07-08T21:14:40-07:00
New Revision: 6ee375147b0b70cd44d06b83dc366c5862599280
URL:
https://github.com/llvm/llvm-project/commit/6ee375147b0b70cd44d06b83dc366c5862599280
DIFF:
https://github.com/llvm/llvm-project/commit/6ee375147b0b70cd44d06b83dc366c5862599280.diff
LO
https://github.com/4vtomat closed
https://github.com/llvm/llvm-project/pull/147173
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/4vtomat approved this pull request.
I agree with you that it's easier to maintain, btw are you going to do that for
all extensions?
https://github.com/llvm/llvm-project/pull/147644
___
cfe-commits mailing list
cfe-commits@lists.llvm
yronglin wrote:
Can you add the test from https://github.com/llvm/llvm-project/pull/144214? I
think we also need to check that in clang/test/CXX/basic/basic.link/p3.cpp
https://github.com/llvm/llvm-project/pull/147138
___
cfe-commits mailing list
cfe-
https://github.com/yronglin closed
https://github.com/llvm/llvm-project/pull/144214
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
yronglin wrote:
Duplicated with https://github.com/llvm/llvm-project/pull/147138, I think we
can close this one.
https://github.com/llvm/llvm-project/pull/144214
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
https://github.com/shafik commented:
Thanks, this is a nice refactor.
https://github.com/llvm/llvm-project/pull/147231
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/146795
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
nilanjana87 wrote:
Heads up: I'll merge this branch tomorrow. Let me know if any of the downstream
users need more time before this goes in.
> LGTM, please give downstream users ~1w to add the opt out flag to build
> configs before landing this.
>
> CC @llvm/pr-subscribers-pgo for visibility
@@ -34,3 +34,7 @@ void bad_root_signature_5() {}
// expected-error@+1 {{expected ')' to denote end of parameters, or, another
valid parameter of RootConstants}}
[RootSignature(MultiLineRootSignature)]
void bad_root_signature_6() {}
+
+// expected-error@+1 {{expected end of str
@@ -46,6 +46,59 @@ static bool CheckAllArgsHaveSameType(Sema *S, CallExpr
*TheCall) {
return false;
}
+static bool CheckAllArgTypesAreCorrect(
+Sema *S, CallExpr *TheCall,
+llvm::ArrayRef<
+llvm::function_ref>
+Checks) {
+ unsigned NumArgs = TheCall
@@ -235,6 +288,30 @@ bool SemaSPIRV::CheckSPIRVBuiltinFunctionCall(const
TargetInfo &TI,
TheCall->setType(RetTy);
break;
}
+ case SPIRV::BI__builtin_spirv_refract: {
+if (SemaRef.checkArgCount(TheCall, 3))
+ return true;
+
+llvm::function_ref
+C
@@ -46,6 +46,59 @@ static bool CheckAllArgsHaveSameType(Sema *S, CallExpr
*TheCall) {
return false;
}
+static bool CheckAllArgTypesAreCorrect(
+Sema *S, CallExpr *TheCall,
+llvm::ArrayRef<
+llvm::function_ref>
+Checks) {
+ unsigned NumArgs = TheCall
@@ -3995,4 +3995,4 @@ bool SemaHLSL::handleInitialization(VarDecl *VDecl, Expr
*&Init) {
}
Init = C;
return true;
-}
+}
spall wrote:
add the newline back.
https://github.com/llvm/llvm-project/pull/147342
___
@@ -777,7 +779,7 @@ template <> struct
MappingTraits {
IO.mapOptional("Maximum", signedMaximum);
Space.Maximum = static_cast(signedMaximum);
-if (Space.Maximum != -1u)
+if (Space.Maximum != std::numeric_limits::max())
owenca wrote:
```suggest
https://github.com/inbelic closed
https://github.com/llvm/llvm-project/pull/147117
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Finn Plummer
Date: 2025-07-08T18:13:36-07:00
New Revision: aa1829df02b24cb8f4a1846348b5a7b4e0be62f8
URL:
https://github.com/llvm/llvm-project/commit/aa1829df02b24cb8f4a1846348b5a7b4e0be62f8
DIFF:
https://github.com/llvm/llvm-project/commit/aa1829df02b24cb8f4a1846348b5a7b4e0be62f8.diff
https://github.com/naveen-seth updated
https://github.com/llvm/llvm-project/pull/147630
>From 6b440de2ed76a6095c4b68ba1301dfbd19f9a285 Mon Sep 17 00:00:00 2001
From: Naveen Seth Hanig
Date: Fri, 13 Jun 2025 09:19:21 +0200
Subject: [PATCH 1/2] Reland [clang][modules-driver] Add scanner to detect
zwuis wrote:
Do you need the help to merge this PR?
https://github.com/llvm/llvm-project/pull/139348
___
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: Naveen Seth Hanig (naveen-seth)
Changes
This patch is part of a series to natively support C++20 module usage from the
Clang driver (without requiring an external build system). This introduces a
new scanner that detects C++20 module usag
https://github.com/naveen-seth created
https://github.com/llvm/llvm-project/pull/147630
This patch is part of a series to natively support C++20 module usage from the
Clang driver (without requiring an external build system). This introduces a
new scanner that detects C++20 module usage in sou
yronglin wrote:
Do you need the help to merge this PR?
https://github.com/llvm/llvm-project/pull/145164
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yronglin closed
https://github.com/llvm/llvm-project/pull/146224
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/anthonyhatran edited
https://github.com/llvm/llvm-project/pull/145967
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: yronglin
Date: 2025-07-09T08:54:30+08:00
New Revision: 191386fcd3335c5b7194da209d71d16549a2bb2f
URL:
https://github.com/llvm/llvm-project/commit/191386fcd3335c5b7194da209d71d16549a2bb2f
DIFF:
https://github.com/llvm/llvm-project/commit/191386fcd3335c5b7194da209d71d16549a2bb2f.diff
LOG:
https://github.com/anthonyhatran edited
https://github.com/llvm/llvm-project/pull/145967
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: None (Andres-Salamanca)
Changes
This PR adds a test for parsing the bitfield_info attribute. Additionally, it
updates the `storage_type` and `is_signed` fields to match the style used in
the incubator ASM format guide.
---
Full diff: h
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (Andres-Salamanca)
Changes
This PR adds a test for parsing the bitfield_info attribute. Additionally, it
updates the `storage_type` and `is_signed` fields to match the style used in
the incubator ASM format guide.
---
Full diff: htt
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/147117
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1487,14 +1380,39 @@ SDValue
NVPTXTargetLowering::LowerCall(TargetLowering::CallLoweringInfo &CLI,
// After all vararg is processed, 'VAOffset' holds the size of the
// vararg byte array.
- SDValue VADeclareParam; // vararg byte array
+ SDValue VADecl
@@ -2082,8 +2082,13 @@ const StringMap sys::getHostCPUFeatures() {
.Case("fp", "fp-armv8")
.Case("crc32", "crc")
.Case("atomics", "lse")
+
https://github.com/ElvinaYakubova updated
https://github.com/llvm/llvm-project/pull/146323
>From 223c9e04c01558624eb63f8891ef51338a6f7da3 Mon Sep 17 00:00:00 2001
From: Elvina Yakubova
Date: Thu, 26 Jun 2025 09:07:23 -0700
Subject: [PATCH 1/5] [clang][AArch64] Parse more features in
getHostCPU
@@ -0,0 +1,19 @@
+; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind
willreturn memory(none)
damyanp wrote:
Can you help me understand what this file is for please? It doesn't look like
it is actually testing anything.
https://github
@@ -1829,6 +1844,9 @@ Triple Triple::get32BitArchVariant() const {
case Triple::ppc64le:T.setArch(Triple::ppcle); break;
case Triple::renderscript64: T.setArch(Triple::renderscript32); break;
case Triple::riscv64:T.setArch(Triple::riscv32); break;
+ cas
@@ -237,7 +241,10 @@ StringRef Triple::getArchTypePrefix(ArchType Kind) {
case wasm64: return "wasm";
case riscv32:
- case riscv64: return "riscv";
+ case riscv64:
+ case riscv32be:
+ case riscv64be:
+return "riscv";
topperc wrote:
Follow
@@ -63,6 +63,10 @@ StringRef Triple::getArchTypeName(ArchType Kind) {
case renderscript64: return "renderscript64";
case riscv32:return "riscv32";
case riscv64:return "riscv64";
+ case riscv32be:
topperc wrote:
Follow the existing format
https://github.com/andykaylor commented:
I'm not sure we want to do this as part of our general canonicalization. It's a
good optimization, but I don't think this kind of thing should be happening
before the optimization phase. That may be true of most of our folders.
I suppose this is a broad
https://github.com/efriedma-quic closed
https://github.com/llvm/llvm-project/pull/144970
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Eli Friedman
Date: 2025-07-08T14:47:04-07:00
New Revision: 6a993264ee0105da32a6a57fb077796076cf6bf4
URL:
https://github.com/llvm/llvm-project/commit/6a993264ee0105da32a6a57fb077796076cf6bf4
DIFF:
https://github.com/llvm/llvm-project/commit/6a993264ee0105da32a6a57fb077796076cf6bf4.diff
https://github.com/efriedma-quic updated
https://github.com/llvm/llvm-project/pull/144970
>From b1f7402423af22b0ea8cdf0b3d3734bcce68a636 Mon Sep 17 00:00:00 2001
From: Eli Friedman
Date: Thu, 19 Jun 2025 18:29:49 -0700
Subject: [PATCH 1/2] [clang] Consistently handle consteval constructors for
https://github.com/5chmidti approved this pull request.
https://github.com/llvm/llvm-project/pull/147553
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/147382
>From 36d2b8fc61ab67b8d8010e8b33e3e871f8e1c4f2 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 4 Jul 2025 14:53:15 -0500
Subject: [PATCH 1/5] define new alias for accumulate builtins
---
clang/include/clang
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/147350
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `arc-builder` running on
`arc-worker` while building `clang,llvm` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/3/builds/18743
Here is the relevant pie
@@ -3,6 +3,7 @@
// and doesn't fall back to "unknown" due to constructor ambiguity.
// REQUIRES: system-aix
+// SUPPORTED: target={{.*}}-aix{{.*}}
hubert-reinterpretcast wrote:
```suggestion
// REQUIRES: system-aix, target={{.*}}-aix{{.*}}
```
https://github
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/147592
Folding ComplexRealOp if the operand is ComplexCreateOp, inspired by MLIR
Complex dialect
Ref:
https://github.com/llvm/llvm-project/blob/8b65c9d1ed298a9f4be675d1da9d678fd61ff2b0/mlir/lib/Dialect/Complex/I
https://github.com/hubert-reinterpretcast approved this pull request.
LGTM with suggested changes.
https://github.com/llvm/llvm-project/pull/147584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
https://github.com/hubert-reinterpretcast edited
https://github.com/llvm/llvm-project/pull/147584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/quic-garvgupt edited
https://github.com/llvm/llvm-project/pull/147589
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/quic-garvgupt updated
https://github.com/llvm/llvm-project/pull/147589
>From c6420bc64c2745c49400408ba93afa34eea194e3 Mon Sep 17 00:00:00 2001
From: Garvit Gupta
Date: Tue, 8 Jul 2025 12:44:44 -0700
Subject: [PATCH] Propogate linker flags when `-static-pie` is enabled in
Bar
@@ -3,6 +3,11 @@
// RUN: %clang_cc1 -std=c++2a -verify=expected,cxx20 %s "-DNEW=::operator new"
"-DDELETE=::operator delete"
// RUN: %clang_cc1 -std=c++2c -verify=expected,cxx26 %s "-DNEW=::operator new"
"-DDELETE=::operator delete"
+// RUN: %clang_cc1 -std=c++2a -verify=exp
https://github.com/quic-garvgupt created
https://github.com/llvm/llvm-project/pull/147589
None
>From 6f96fc844751a95ee18b69ddb850ddd2fe76a89c Mon Sep 17 00:00:00 2001
From: Garvit Gupta
Date: Tue, 8 Jul 2025 07:21:37 -0700
Subject: [PATCH 1/2] Propogate appropriate linker flags for `-static-pi
https://github.com/quic-garvgupt updated
https://github.com/llvm/llvm-project/pull/147589
>From a1f3797d0acb93e66959c5163aeb49213d2d32a1 Mon Sep 17 00:00:00 2001
From: Garvit Gupta
Date: Tue, 8 Jul 2025 12:44:44 -0700
Subject: [PATCH] Propogate linker flags when `-static-pie` is enabled in
Bar
https://github.com/quic-garvgupt updated
https://github.com/llvm/llvm-project/pull/147589
>From 6f96fc844751a95ee18b69ddb850ddd2fe76a89c Mon Sep 17 00:00:00 2001
From: Garvit Gupta
Date: Tue, 8 Jul 2025 07:21:37 -0700
Subject: [PATCH 1/2] Propogate appropriate linker flags for `-static-pie` in
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 HEAD~1 HEAD --extensions cpp,c,h --
clang/include/clang/Driver/CommonArgs.h
clang/li
https://github.com/vbvictor approved this pull request.
https://github.com/llvm/llvm-project/pull/147197
___
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: Timm Baeder (tbaederr)
Changes
These were added in https://github.com/llvm/llvm-project/pull/147303, but the
-fexperimental-new-constant-interpreter was missing.
---
Full diff: https://github.com/llvm/llvm-project/pull/147590.diff
1 Fil
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/147590
These were added in https://github.com/llvm/llvm-project/pull/147303, but the
-fexperimental-new-constant-interpreter was missing.
>From d37db46dd55d3948cd6c7d002c9e9dd5edc2568c Mon Sep 17 00:00:00 2001
From:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Garvit Gupta (quic-garvgupt)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/147589.diff
9 Files Affected:
- (modified) clang/include/clang/Driver/CommonArgs.h (+2)
- (modified) clang/lib/Driver/ToolChains/BareMetal.c
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/147546
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-07-08T12:47:03-07:00
New Revision: d0c1f148ced2a599dc36046f3bd46af64e3f5ed0
URL:
https://github.com/llvm/llvm-project/commit/d0c1f148ced2a599dc36046f3bd46af64e3f5ed0
DIFF:
https://github.com/llvm/llvm-project/commit/d0c1f148ced2a599dc36046f3bd46af64e3f5ed0.diff
L
efriedma-quic wrote:
My understanding is that "recoverable" in this context means we can actually
generate sensible IR for the construct. So no errors, except for warnings
promoted to errors (or certain errors which don't impact IRGen/CFG analysis).
And if that isn't what isUnrecoverable() i
https://github.com/tonykuttai created
https://github.com/llvm/llvm-project/pull/147584
This is a followup on the [[PowerPC][clang] Fix triple constructor ambiguity
causing "unknown" target triple on
AIX](https://github.com/llvm/llvm-project/pull/147488#top) to address the
[post-commit review
@@ -25,20 +40,29 @@ int main() {
auto lambda2 = [](int){};
auto lambda3 = [](double){};
- kernel(lambda1);
- kernel2(lambda2);
- kernel3(lambda3);
+ kernel_wrapper(lambda1);
+ kernel2_wrapper(lambda2);
+ kernel3_wrapper(lambda3);
// Ensure the kernels are named
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/147197
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -672,9 +672,15 @@ class Matcher {
DynTypedMatcher Implementation;
}; // class Matcher
-/// A convenient helper for creating a Matcher without specifying
-/// the template type argument.
+// Deduction guide for Matcher.
+template Matcher(MatcherInterface *) -> Matcher;
+
github-actions[bot] wrote:
@localspook 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 bui
Author: Victor Chernyakin
Date: 2025-07-08T20:48:51+03:00
New Revision: 1e3f6a6c4fd8dafb208216ffcabe31fa978ca502
URL:
https://github.com/llvm/llvm-project/commit/1e3f6a6c4fd8dafb208216ffcabe31fa978ca502
DIFF:
https://github.com/llvm/llvm-project/commit/1e3f6a6c4fd8dafb208216ffcabe31fa978ca502.d
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/147301
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,14 @@
+// Test for the Triple constructor ambiguity fix on AIX
+// This test verifies that the default target triple is correctly resolved
+// and doesn't fall back to "unknown" due to constructor ambiguity.
+
+// REQUIRES: system-aix
hubert-reinterpret
https://github.com/YexuanXiao edited
https://github.com/llvm/llvm-project/pull/143653
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
YexuanXiao wrote:
The failed tests in CI are allowed to fail. See the
[comment](https://github.com/llvm/llvm-project/pull/135386#issuecomment-3049426611)
in another PR #135386.
https://github.com/llvm/llvm-project/pull/143653
___
cfe-commits mailing
dstenb wrote:
Hi, @kadircet!
This commit broke one of our downstream tests where we mount the repository as
read-only, as the `static-compound-literals-crash.cpp` test attempts to write
the output to the test source directory:
```
(frontend): unable to open output file
'/path/to/repo/clang/t
@@ -5754,47 +5540,106 @@ static SDValue combineADDRSPACECAST(SDNode *N,
return SDValue();
}
+static SDValue sinkProxyReg(SDValue R, SDValue Chain,
+TargetLowering::DAGCombinerInfo &DCI) {
+ switch (R.getOpcode()) {
+ case ISD::TRUNCATE:
+ case
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/147558
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5754,47 +5540,106 @@ static SDValue combineADDRSPACECAST(SDNode *N,
return SDValue();
}
+static SDValue sinkProxyReg(SDValue R, SDValue Chain,
+TargetLowering::DAGCombinerInfo &DCI) {
AlexMaclean wrote:
Added!
https://github
https://github.com/Sirraide approved this pull request.
https://github.com/llvm/llvm-project/pull/146829
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/141846
>From bfdf16cee252dc6491f15c0715c7a39538fbf120 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Wed, 23 Apr 2025 13:14:24 -0700
Subject: [PATCH 1/5] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt' a
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 HEAD~1 HEAD --extensions c,cpp,h --
clang/test/CodeGen/kcfi-salt.c clang/include/clan
vbvictor wrote:
Please make the title more detailed about what you changed excatly.
https://github.com/llvm/llvm-project/pull/147406
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/141846
>From bfdf16cee252dc6491f15c0715c7a39538fbf120 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Wed, 23 Apr 2025 13:14:24 -0700
Subject: [PATCH 1/4] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt' a
1 - 100 of 392 matches
Mail list logo