@@ -349,7 +350,12 @@ class Triple {
/// triple fields unknown.
Triple() = default;
+ LLVM_ABI explicit Triple(std::string &&Str);
nikic wrote:
Probably my C++-foo is not strong enough, but I thought that doing a by-value
pass + std::move gives you the s
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/145806
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/145840
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/143302
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/145841
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/145843
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm closed
https://github.com/llvm/llvm-project/pull/145685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matt Arsenault
Date: 2025-06-26T15:26:04+09:00
New Revision: fff720d6419b92be068ac4f3ac7e8333a781ee20
URL:
https://github.com/llvm/llvm-project/commit/fff720d6419b92be068ac4f3ac7e8333a781ee20
DIFF:
https://github.com/llvm/llvm-project/commit/fff720d6419b92be068ac4f3ac7e8333a781ee20.diff
kovdan01 wrote:
> Driver options need to have some stability guarantee, while CC1 options can
> be more freely changed. So I'd be concerned if we commit to certain forms of
> driver options with known ergonomics issues. The Clang driver options should
> come last in the patch stack, with other
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/145755
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin approved this pull request.
approving this because it's a nice code cleaning, however defaulting operator=
does not protect against self assignment afaik
https://github.com/llvm/llvm-project/pull/145743
___
cfe-commits mail
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: Kazu Hirata (kazutakahirata)
Changes
ArrayRef has a constructor that accepts std::nullopt. This
constructor dates back to the days when we still had llvm::Optional.
Since the use of std::nullopt outside the context of std::optional is
ki
@@ -1469,6 +1470,12 @@ bool MatchASTVisitor::TraverseDecl(Decl *DeclNode) {
return true;
}
+ if (Options.SkipDeclsInModules && DeclNode->isFromASTFile()) {
+auto *M = DeclNode->getOwningModule();
+if (M && (M->isInterfaceOrPartition() || M->isGlobalModule()))
+
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/145630
>From 3e526e9a666dcc2ea0e6bdcb666dca43ab6ba740 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Wed, 17 Jan 2024 13:22:10 +0800
Subject: [PATCH 1/2] [clang-tidy] [Modules] Skip checking decls in clang-tidy
--
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
llvm::is_contained is shorter than llvm::all_of plus a lambda.
---
Full diff: https://github.com/llvm/llvm-project/pull/145843.diff
7 Files Affected:
- (modified) clang/lib/AST/ExprCXX.cpp (+1-1)
-
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Kazu Hirata (kazutakahirata)
Changes
llvm::is_contained is shorter than llvm::all_of plus a lambda.
---
Full diff: https://github.com/llvm/llvm-project/pull/145843.diff
7 Files Affected:
- (modified) clang/lib/AST/ExprCXX.cpp
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/145356
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-backend-loongarch
Author: Kazu Hirata (kazutakahirata)
Changes
llvm::is_contained is shorter than llvm::all_of plus a lambda.
---
Full diff: https://github.com/llvm/llvm-project/pull/145843.diff
7 Files Affected:
- (modified) clang/lib/AST/ExprCXX.c
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Kazu Hirata (kazutakahirata)
Changes
llvm::is_contained is shorter than llvm::all_of plus a lambda.
---
Full diff: https://github.com/llvm/llvm-project/pull/145843.diff
7 Files Affected:
- (modified) clang/lib/AST/ExprCXX.cpp (+
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/145843
llvm::is_contained is shorter than llvm::all_of plus a lambda.
>From 61c8b69ad8e34b51e10f6f9530604dd8a9d56cdd Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Wed, 25 Jun 2025 08:53:51 -0700
Subject: [P
@@ -1469,6 +1470,12 @@ bool MatchASTVisitor::TraverseDecl(Decl *DeclNode) {
return true;
}
+ if (Options.SkipDeclsInModules && DeclNode->isFromASTFile()) {
+auto *M = DeclNode->getOwningModule();
+if (M && (M->isInterfaceOrPartition() || M->isGlobalModule()))
+
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
ArrayRef has a constructor that accepts std::nullopt. This
constructor dates back to the days when we still had llvm::Optional.
Since the use of std::nullopt outside the context of std::opt
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/145841
ArrayRef has a constructor that accepts std::nullopt. This
constructor dates back to the days when we still had llvm::Optional.
Since the use of std::nullopt outside the context of std::optional is
kind
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
ArrayRef has a constructor that accepts std::nullopt. This
constructor dates back to the days when we still had llvm::Optional.
Since the use of std::nullopt outside the context of std::optional is
kin
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/145840
ArrayRef has a constructor that accepts std::nullopt. This
constructor dates back to the days when we still had llvm::Optional.
Since the use of std::nullopt outside the context of std::optional is
kind
@@ -139,6 +139,11 @@ class MatchFinder {
///
/// It prints a report after match.
std::optional CheckProfiling;
+
+bool SkipDeclsInModules = false;
+
+MatchFinderOptions()
+: CheckProfiling(std::nullopt), SkipDeclsInModules(false) {}
Author: Chuanqi Xu
Date: 2025-06-26T13:39:45+08:00
New Revision: a6e524276e2c0596162a9635e0aa87a5ba145409
URL:
https://github.com/llvm/llvm-project/commit/a6e524276e2c0596162a9635e0aa87a5ba145409
DIFF:
https://github.com/llvm/llvm-project/commit/a6e524276e2c0596162a9635e0aa87a5ba145409.diff
LO
@@ -296,12 +296,16 @@ static bool fillRanges(MemoryBuffer *Code,
}
if (!EmptyLengths)
Length = Lengths[I];
+if (Length == 0) {
+ errs() << "error: length should be at least 1\n";
+ return true;
+}
if (Offset + Length > CodeSize) {
err
https://github.com/evelez7 updated
https://github.com/llvm/llvm-project/pull/145595
>From 19569ab7cecab1d2d0c608d85d7571dd9c754101 Mon Sep 17 00:00:00 2001
From: Erick Velez
Date: Tue, 24 Jun 2025 11:19:06 -0700
Subject: [PATCH] [clang-doc] refactor JSONGenerator array usage
Improve code reuse
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/145685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/145529
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,121 @@
+//===--===//
+//
+// 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: Apa
@@ -2925,6 +2925,54 @@ bool RISCVDAGToDAGISel::SelectAddrRegImm(SDValue Addr,
SDValue &Base,
return true;
}
+/// Similar to SelectAddrRegImm, except that the offset restricted for
+/// nine bits.
+bool RISCVDAGToDAGISel::SelectAddrRegImm9(SDValue Addr, SDValue &Base,
+
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Erick Velez (evelez7)
Changes
Improve code reuse by calling serializeArray in more generic cases
instead of creating and reserving arrays on their own.
---
Full diff: https://github.com/llvm/llvm-project/pull/145595.diff
1 Fi
https://github.com/evelez7 ready_for_review
https://github.com/llvm/llvm-project/pull/145595
___
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/145685
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -454,27 +417,19 @@ static void serializeInfo(const RecordInfo &I,
json::Object &Obj,
Obj["ProtectedMembers"] = ProtectedMembersArray;
}
- if (!I.Bases.empty()) {
-json::Value BasesArray = Array();
-json::Array &BasesArrayRef = *BasesArray.getAsArray();
-
@@ -349,7 +350,12 @@ class Triple {
/// triple fields unknown.
Triple() = default;
+ LLVM_ABI explicit Triple(std::string &&Str);
+ explicit Triple(StringRef Str) : Triple(Str.str()) {}
+ explicit Triple(const char *Str) : Triple(std::string(Str)) {}
+ explicit Triple(
@@ -349,7 +350,12 @@ class Triple {
/// triple fields unknown.
Triple() = default;
+ LLVM_ABI explicit Triple(std::string &&Str);
+ explicit Triple(StringRef Str) : Triple(Str.str()) {}
+ explicit Triple(const char *Str) : Triple(std::string(Str)) {}
+ explicit Triple(
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/145784
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zwuis commented:
Please add a tag to the beginning of the PR title in square brackets like other
PRs. E.g. `[clang-tidy]`.
https://github.com/llvm/llvm-project/pull/145784
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http
@@ -103,9 +109,41 @@ class SWPFormat
let Inst{6-0} = OPC_CUSTOM_0.Value;
}
+// Prefetch format.
+let hasSideEffects = 0, mayLoad = 1,mayStore = 1 in
+class Mips_prefetch_ri
+: RVInst {
+ bits<9> imm9;
+ bits<5> rs1;
+ bits<5> hint;
+
+ let Inst{31 - 29} = 0b000;
+ l
https://github.com/rnk updated https://github.com/llvm/llvm-project/pull/138187
>From 7e23666e3366101d635648faf95aaf7245643b4e Mon Sep 17 00:00:00 2001
From: Reid Kleckner
Date: Wed, 30 Apr 2025 16:32:32 -0700
Subject: [PATCH 1/4] [llvm] Enable LLVM_LINK_LLVM_DYLIB by default on
non-Windows pla
@@ -0,0 +1,40 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=riscv32 -mattr=+xmipscbop -mattr=+m -verify-machineinstrs
< %s \
+; RUN: | FileCheck %s -check-prefix=RV32XMIPSPREFETCH
+; RUN: llc -mtriple=riscv64 -mattr=+xmip
topperc wrote:
> > > This adds the support of Zibi v0.1 experimental extension.
> > > References:
> > >
> > > *
> > > https://lf-riscv.atlassian.net/wiki/spaces/USXX/pages/599261201/Branch+with+Immediate+Zibi+Ratification+Plan
> >
> >
> > I cannot for the life of me find an actual specificati
MaskRay wrote:
Sorry, I haven't closely followed the AArch64 PAuth work. The Clang driver
options should come last in the patch stack, with other patches reviewed first.
For driver options, I don't know a bunch of `-fptrauth-*` is a good idea. We
had a similar scenario with -mbranches-within-3
https://github.com/Shoreshen updated
https://github.com/llvm/llvm-project/pull/145278
>From 888df5412b37bd3f232bdb38c9f89786d042fe75 Mon Sep 17 00:00:00 2001
From: shore <372660...@qq.com>
Date: Mon, 23 Jun 2025 14:12:15 +0800
Subject: [PATCH 1/5] Add alignment attr & propagate alignment through
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/143492
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -169,4 +169,20 @@ void record_uninit() {
// CHECK-SAME: a46bb5c1ee44d4611ffeb13f7f499605
// CHECK: issue_hash_content_of_line_in_context
// CHECK-SAME: e0e0d30ea5a7b2e3a71e1931fa0768a5
+
+struct B{
+ int i :2;
+ int:30; // unnamed bit-field
+};
+
+void bitfield_B_ini
https://github.com/Shoreshen updated
https://github.com/llvm/llvm-project/pull/145278
>From 888df5412b37bd3f232bdb38c9f89786d042fe75 Mon Sep 17 00:00:00 2001
From: shore <372660...@qq.com>
Date: Mon, 23 Jun 2025 14:12:15 +0800
Subject: [PATCH 1/5] Add alignment attr & propagate alignment through
https://github.com/BoyaoWang430 updated
https://github.com/llvm/llvm-project/pull/127463
>From e740d8cfb8b689d766841396c5a6ab9a1d389ec7 Mon Sep 17 00:00:00 2001
From: wangboyao
Date: Mon, 17 Feb 2025 17:35:52 +0800
Subject: [PATCH 1/5] [RISCV] Add Support of RISCV Zibimm Experimental
Extension
@@ -1,12 +1,19 @@
// RUN: %clang_analyze_cc1 %s -verify \
// RUN: -analyzer-checker=core \
// RUN: -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true \
+// RUN: -analyzer-config core.CallAndMessage:ArgInitializedness=false \
// RUN: -analyzer-output=pl
@@ -2122,8 +2122,21 @@ SVal
RegionStoreManager::getBindingForField(RegionBindingsConstRef B,
if (const std::optional &V = B.getDirectBinding(R))
return *V;
- // If the containing record was initialized, try to get its constant value.
+ // UnnamedBitField is always Und
https://github.com/quic-akaryaki updated
https://github.com/llvm/llvm-project/pull/145812
>From a84ed78481f37843143b5622a1351d7d8a3c3045 Mon Sep 17 00:00:00 2001
From: Alexey Karyakin
Date: Mon, 19 May 2025 12:16:36 -0700
Subject: [PATCH] [Hexagon] NFC: Reduce the amount of version-specific cod
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while
building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/186/builds/10189
Here is the relev
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/145799
___
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: Finn Plummer (inbelic)
Changes
This pr updates `setDefaultFlags` in `HLSLRootSignature.h` to account for which
version it should initialize the default flag values for.
- Updates `setDefaultFlags` with a `Version` argument and initializes
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Finn Plummer (inbelic)
Changes
This pr updates `setDefaultFlags` in `HLSLRootSignature.h` to account for which
version it should initialize the default flag values for.
- Updates `setDefaultFlags` with a `Version` argument and initializes
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/145828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/inbelic created
https://github.com/llvm/llvm-project/pull/145828
This pr updates `setDefaultFlags` in `HLSLRootSignature.h` to account for which
version it should initialize the default flag values for.
- Updates `setDefaultFlags` with a `Version` argument and initializes th
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-nvptx64-nvidia-ubuntu` running on `as-builder-7` while building
`clang,llvm` at step 6 "test-build-unified-tree-check-llvm".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/160/builds/19862
Here
https://github.com/tclin914 closed
https://github.com/llvm/llvm-project/pull/145634
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jim Lin
Date: 2025-06-26T08:58:36+08:00
New Revision: 2f9eee849f7d7414c447d26625517edc34437138
URL:
https://github.com/llvm/llvm-project/commit/2f9eee849f7d7414c447d26625517edc34437138
DIFF:
https://github.com/llvm/llvm-project/commit/2f9eee849f7d7414c447d26625517edc34437138.diff
LOG:
Author: yronglin
Date: 2025-06-26T08:49:43+08:00
New Revision: 0529a346007cecab95c6820a60cb3e4e36f34990
URL:
https://github.com/llvm/llvm-project/commit/0529a346007cecab95c6820a60cb3e4e36f34990
DIFF:
https://github.com/llvm/llvm-project/commit/0529a346007cecab95c6820a60cb3e4e36f34990.diff
LOG:
https://github.com/yronglin closed
https://github.com/llvm/llvm-project/pull/145244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
yronglin wrote:
@AaronBallman @shafik Thanks for the review!
https://github.com/llvm/llvm-project/pull/145244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jim Lin
Date: 2025-06-26T08:46:20+08:00
New Revision: 63b14b3f2bf6abd96d9a6cf0cec9e9447b7a3744
URL:
https://github.com/llvm/llvm-project/commit/63b14b3f2bf6abd96d9a6cf0cec9e9447b7a3744
DIFF:
https://github.com/llvm/llvm-project/commit/63b14b3f2bf6abd96d9a6cf0cec9e9447b7a3744.diff
LOG:
https://github.com/tclin914 closed
https://github.com/llvm/llvm-project/pull/145646
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/145795
>From 7e3f1398ae2ba147822f96dd262a2c6127f0ff68 Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Wed, 25 Jun 2025 18:16:12 +
Subject: [PATCH 1/8] simple prototype first error
---
.../clang/Basic/Diagnostic
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/145795
___
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 `clang-aarch64-sve-vls`
running on `linaro-g3-02` while building `clang` at step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/143/builds/8751
Here is the relevant piece of the bui
Author: Craig Topper
Date: 2025-06-25T15:46:45-07:00
New Revision: 3d51490622883a197bd40bf3c1e2962d032ea3c9
URL:
https://github.com/llvm/llvm-project/commit/3d51490622883a197bd40bf3c1e2962d032ea3c9
DIFF:
https://github.com/llvm/llvm-project/commit/3d51490622883a197bd40bf3c1e2962d032ea3c9.diff
https://github.com/topperc closed
https://github.com/llvm/llvm-project/pull/145771
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/145655
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor created
https://github.com/llvm/llvm-project/pull/145792
This change adds support for handling the -mconstructor-aliases option in CIR.
Aliases are not yet correctly lowered to LLVM IR. That will be implemented in a
future change.
>From b9fa4c7e927b01bf998380334d
https://github.com/andykaylor edited
https://github.com/llvm/llvm-project/pull/145770
___
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: Andy Kaylor (andykaylor)
Changes
This change adds support for handling the -mconstructor-aliases option in CIR.
Aliases are not yet correctly lowered to LLVM IR. That will be implemented in a
future change.
---
Full diff: https://githu
https://github.com/preames approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/145771
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/dbartol updated
https://github.com/llvm/llvm-project/pull/145784
>From 0be65986e1e2adf973a032936afa9cf48841055b Mon Sep 17 00:00:00 2001
From: Dave Bartolomeo
Date: Wed, 25 Jun 2025 17:45:50 -0400
Subject: [PATCH] EndSourceFile() for preprocessor before diagnostic client
The
@@ -123,26 +123,10 @@ S getS();
S *getSP();
void testReferenceAddress(int &x) {
-// FIXME: Move non-zero reference assumption out of
RangeConstraintManager.cpp:422
NagyDonat wrote:
This FIXME asks for ensuring that some logic is applied in all constraint
ma
shiltian wrote:
### Merge activity
* **Jun 25, 8:56 PM UTC**: A user started a stack merge that includes this pull
request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/145747).
https://github.com/llvm/llvm-project/pull/145747
___
@@ -123,26 +123,10 @@ S getS();
S *getSP();
void testReferenceAddress(int &x) {
-// FIXME: Move non-zero reference assumption out of
RangeConstraintManager.cpp:422
-#ifdef ANALYZER_CM_Z3
- clang_analyzer_eval(&x != 0); // expected-warning{{UNKNOWN}}
- clang_analyzer_eval(&r
https://github.com/s-perron closed
https://github.com/llvm/llvm-project/pull/145327
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
balazs-benics-sonarsource wrote:
Once we are settled on the implementation here, I'll split the `classof`
refactors from this PR and merge it before merging this one.
Should I measure the perf of this change?
https://github.com/llvm/llvm-project/pull/144327
@@ -25768,6 +25768,29 @@ TEST_F(FormatTest, OperatorPassedAsAFunctionPtr) {
verifyFormat("foo(operator, , -42);", Style);
}
+TEST_F(FormatTest, LineSpliceWithTrailingWhitespace) {
+ // Test that each sequence of a backslash (\) immediately followed by zero or
+ // more hor
https://github.com/NagyDonat approved this pull request.
LGTM if there are no surprising performance regressions.
https://github.com/llvm/llvm-project/pull/144327
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
Author: Qinkun Bao
Date: 2025-06-24T13:11:52-04:00
New Revision: 4b4782bc868bcca7a92f1253529f148eb61cb628
URL:
https://github.com/llvm/llvm-project/commit/4b4782bc868bcca7a92f1253529f148eb61cb628
DIFF:
https://github.com/llvm/llvm-project/commit/4b4782bc868bcca7a92f1253529f148eb61cb628.diff
LO
kparzysz wrote:
@alexey-bataev This is ready now.
https://github.com/llvm/llvm-project/pull/141772
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -488,3 +488,89 @@ static_assert(__is_trivially_copyable(S12));
// expected-note@-1 {{'S12' is not trivially copyable}} \
// expected-note@#tc-S12 {{'S12' defined here}}
}
+
+namespace standard_layout_tests {
+struct WithVirtual { // #sl-Virtual
+virtual void foo(); // #s
@@ -457,3 +457,25 @@ void NVPTXInstPrinter::printCTAGroup(const MCInst *MI, int
OpNum,
}
llvm_unreachable("Invalid cta_group in printCTAGroup");
}
+
+void NVPTXInstPrinter::printCallOperand(const MCInst *MI, int OpNum,
+raw_ostream &
@@ -0,0 +1,38 @@
+//===- ABIInfo.h - ABI information access & encapsulation - C++
---===//
+//
+// 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: Apa
ojhunt wrote:
I'll be back to working on this later today - there's a pile of feedback, and a
bunch of nonsense that I managed to accidentally accrue and/or re-format when
pushing the PR so it will take a little time to unbreak that. It may be easiest
to force push a repaired PR first and then
https://github.com/andykaylor created
https://github.com/llvm/llvm-project/pull/145750
This sorts the 'Misc' section of the MissingFeatures.h file lexicographically.
The goal is to reduce the number of merge conflicts we're having with this
file. Currently, we've been adding new entries at the
@@ -139,6 +139,11 @@ class MatchFinder {
///
/// It prints a report after match.
std::optional CheckProfiling;
+
+bool SkipDeclsInModules = false;
+
+MatchFinderOptions()
+: CheckProfiling(std::nullopt), SkipDeclsInModules(false) {}
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Paul Walker (paulwalker-arm)
Changes
Adds sve-sha3 to reference FEAT_SVE_SHA3 without specifically enabling SVE2.
The SVE2 requirement for AES, SHA3 and Bitperm is replaced with SVE for
non-streaming function.
---
Patch is 49.41 KiB, tr
yronglin wrote:
CC @Bigcheese @jansvoboda11 Could you help review this change?
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
andrurogerz wrote:
@compnerd, @vgvassilev another hopefully quick one, thanks!
https://github.com/llvm/llvm-project/pull/145374
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ellis Hoag
Date: 2025-06-24T09:52:47-07:00
New Revision: f18cfb9108fda51c7c8233c32b4e2193a0a13766
URL:
https://github.com/llvm/llvm-project/commit/f18cfb9108fda51c7c8233c32b4e2193a0a13766
DIFF:
https://github.com/llvm/llvm-project/commit/f18cfb9108fda51c7c8233c32b4e2193a0a13766.diff
LO
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Paul Walker (paulwalker-arm)
Changes
Adds sve-sha3 to reference FEAT_SVE_SHA3 without specifically enabling SVE2.
The SVE2 requirement for AES, SHA3 and Bitperm is replaced with SVE for
non-streaming function.
---
Patch is 49.
https://github.com/alexey-bataev approved this pull request.
https://github.com/llvm/llvm-project/pull/145490
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 561 matches
Mail list logo