@@ -43,17 +46,24 @@ namespace clang {
// Macro locations have the top bit set, we rotate by one so it is the low bit.
class SourceLocationEncoding {
using UIntTy = SourceLocation::UIntTy;
- constexpr static unsigned UIntBits = CHAR_BIT * sizeof(UIntTy);
static UIntTy en
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux`
running on `fuchsia-debian-64-us-central1-a-1` while building `clang` at step 4
"annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/11/builds/19001
Here is the relevant
@@ -43,17 +46,24 @@ namespace clang {
// Macro locations have the top bit set, we rotate by one so it is the low bit.
class SourceLocationEncoding {
using UIntTy = SourceLocation::UIntTy;
- constexpr static unsigned UIntBits = CHAR_BIT * sizeof(UIntTy);
static UIntTy en
@@ -3409,3 +3409,30 @@ StringRef
tools::parseMRecipOption(clang::DiagnosticsEngine &Diags,
return Out;
}
+
+std::string tools::ComplexRangeKindToStr(LangOptions::ComplexRangeKind Range) {
s-watanabe314 wrote:
Thank you for the review. I have corrected the
hokein wrote:
> Why is this a new review? What changed from the last one I looked at?
Ah, right -- this patch is actually derived from the previous one, and it is
simpler. That older patch became a bit outdated since some of its changes were
split out and already landed in main. I found it eas
https://github.com/efriedma-quic closed
https://github.com/llvm/llvm-project/pull/146288
___
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-07T23:35:10-07:00
New Revision: 071765749a70b22fb62f2efc07a3f242ff5b4c52
URL:
https://github.com/llvm/llvm-project/commit/071765749a70b22fb62f2efc07a3f242ff5b4c52
DIFF:
https://github.com/llvm/llvm-project/commit/071765749a70b22fb62f2efc07a3f242ff5b4c52.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
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Younan Zhang (zyn0217)
Changes
We were using the lexical DC as the starting point of template argument
collection when comparing declarations. This caused an issue that template
arguments from out-of-line declarations are ignored when sub
https://github.com/zyn0217 ready_for_review
https://github.com/llvm/llvm-project/pull/147463
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
This change needs a release note.
Please add an entry to `clang/docs/ReleaseNotes.rst` in the section the most
adapted to the change, and referencing any Github issue this change fixes.
Thanks!
https://github.com/llvm/llvm-project/pull/147363
___
Himadhith wrote:
- The assertions for this file `clang/test/CodeGen/PowerPC/check-zero-vector.c`
are auto-generated.
- But for the file `llvm/test/CodeGen/PowerPC/check-zero-vectors.ll`, the
generated assertions were very long, I have limited them to the important code
blocks. Also changed th
https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/147463
We were using the lexical DC as the starting point of template argument
collection when comparing declarations. This caused an issue that template
arguments from out-of-line declarations are ignored when substi
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/147447
>From 21f0d364933cd59acaa1fb323c1018dbce7c3452 Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Mon, 7 Jul 2025 19:02:38 -0700
Subject: [PATCH 1/3] Add logic to suppress noreturn falling for some basic
co
https://github.com/tclin914 closed
https://github.com/llvm/llvm-project/pull/146309
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shiltian wrote:
For some reason there is a crash in
`llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tanh.ll`.
```
LLVM ERROR: Cannot select: t28: ch = store<(store (s16) into %ir.out.load,
addrspace 1)> t0, t27, t30, undef:i64
t27: i16 = bitcast t21
t21: bf16 = llvm.amdgcn.tanh TargetConstant:i64<
@@ -13658,6 +13658,7 @@ bool SITargetLowering::isCanonicalized(Register Reg,
const MachineFunction &MF,
case Intrinsic::amdgcn_frexp_mant:
case Intrinsic::amdgcn_fdot2:
case Intrinsic::amdgcn_trig_preop:
+case Intrinsic::amdgcn_tanh:
shiltian w
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
igorkudrin wrote:
Than
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/147447
>From 21f0d364933cd59acaa1fb323c1018dbce7c3452 Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Mon, 7 Jul 2025 19:02:38 -0700
Subject: [PATCH 1/2] Add logic to suppress noreturn falling for some basic
co
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/147338
>From 8b42dbd7659ce5e424fb107a0d375f449a8d44a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Mon, 7 Jul 2025 18:06:04 +0200
Subject: [PATCH] [clang][bytecode] Fix activating nested unions
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147221
>From f1e26fed6c5023ba59990112ec4a77b024247e4b Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 4 Jul 2025 23:55:41 -0700
Subject: [PATCH 1/3] [clang] Fix -Wuninitialized for values passed by const
poin
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/147303
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-07-08T06:00:52+02:00
New Revision: 4c98da2cadfb23f6d4070db9136d8dc0a379bcc1
URL:
https://github.com/llvm/llvm-project/commit/4c98da2cadfb23f6d4070db9136d8dc0a379bcc1
DIFF:
https://github.com/llvm/llvm-project/commit/4c98da2cadfb23f6d4070db9136d8dc0a379bcc1.diff
L
https://github.com/topperc approved this pull request.
LGTM
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
Author: Jim Lin
Date: 2025-07-08T11:04:10+08:00
New Revision: 862c2fc26eb1611e1c06dccaaa650fc29f2546de
URL:
https://github.com/llvm/llvm-project/commit/862c2fc26eb1611e1c06dccaaa650fc29f2546de
DIFF:
https://github.com/llvm/llvm-project/commit/862c2fc26eb1611e1c06dccaaa650fc29f2546de.diff
LOG:
wangpc-pp wrote:
Should we document this in
https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/src/c-api.adoc?
https://github.com/llvm/llvm-project/pull/147018
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
@@ -13658,6 +13658,7 @@ bool SITargetLowering::isCanonicalized(Register Reg,
const MachineFunction &MF,
case Intrinsic::amdgcn_frexp_mant:
case Intrinsic::amdgcn_fdot2:
case Intrinsic::amdgcn_trig_preop:
+case Intrinsic::amdgcn_tanh:
arsenm wro
@@ -13658,6 +13658,7 @@ bool SITargetLowering::isCanonicalized(Register Reg,
const MachineFunction &MF,
case Intrinsic::amdgcn_frexp_mant:
case Intrinsic::amdgcn_fdot2:
case Intrinsic::amdgcn_trig_preop:
+case Intrinsic::amdgcn_tanh:
shiltian w
https://github.com/snarang181 created
https://github.com/llvm/llvm-project/pull/147447
This patch adds a new AnalysisBasedWarnings pass that runs right before
IssueWarnings:
1. Pass 1 seeds trivial always-throwing functions.
2. Pass 2 performs a fixed-point CFG-based analysis (CheckFallThrough)
@@ -0,0 +1,22 @@
+//===--===//
+//
+// 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: Apac
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/147138
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ashwin Kishin Banwari
Date: 2025-07-08T10:01:08+08:00
New Revision: 48ff068c525922e8323982795c69bbfbe49fea1e
URL:
https://github.com/llvm/llvm-project/commit/48ff068c525922e8323982795c69bbfbe49fea1e
DIFF:
https://github.com/llvm/llvm-project/commit/48ff068c525922e8323982795c69bbfbe49fea
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/147135
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ashwin Kishin Banwari
Date: 2025-07-08T10:00:55+08:00
New Revision: e427bd55a852eff2b7fed97941642be121557dca
URL:
https://github.com/llvm/llvm-project/commit/e427bd55a852eff2b7fed97941642be121557dca
DIFF:
https://github.com/llvm/llvm-project/commit/e427bd55a852eff2b7fed97941642be121557d
https://github.com/ChuanqiXu9 closed
https://github.com/llvm/llvm-project/pull/146993
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ashwin Kishin Banwari
Date: 2025-07-08T09:54:33+08:00
New Revision: 84be78524de7d06943570854cbf31537c8f45199
URL:
https://github.com/llvm/llvm-project/commit/84be78524de7d06943570854cbf31537c8f45199
DIFF:
https://github.com/llvm/llvm-project/commit/84be78524de7d06943570854cbf31537c8f451
shafik wrote:
> Why doesn't C++20 below suffer from the issue?
>
> I think it's a waste to add a Sema scope object just for diagnostic issues.
> It's more like that there's an underlying issue that would be otherwise
> hidden by the patch. Can you explore?
Thank you for this PR but I agree th
https://github.com/ChuanqiXu9 commented:
Have you tested this with google's internal modules test? If yes, then LG.
https://github.com/llvm/llvm-project/pull/147292
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/147292
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -43,17 +46,24 @@ namespace clang {
// Macro locations have the top bit set, we rotate by one so it is the low bit.
class SourceLocationEncoding {
using UIntTy = SourceLocation::UIntTy;
- constexpr static unsigned UIntBits = CHAR_BIT * sizeof(UIntTy);
static UIntTy en
@@ -700,7 +700,8 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC,
IntrinsicInst &II) const {
break;
}
case Intrinsic::amdgcn_sqrt:
- case Intrinsic::amdgcn_rsq: {
+ case Intrinsic::amdgcn_rsq:
+ case Intrinsic::amdgcn_tanh: {
arsenm wrote:
Thi
@@ -13658,6 +13658,7 @@ bool SITargetLowering::isCanonicalized(Register Reg,
const MachineFunction &MF,
case Intrinsic::amdgcn_frexp_mant:
case Intrinsic::amdgcn_fdot2:
case Intrinsic::amdgcn_trig_preop:
+case Intrinsic::amdgcn_tanh:
arsenm wro
@@ -0,0 +1,22 @@
+//===--===//
+//
+// 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: Apac
@@ -0,0 +1,22 @@
+//===--===//
+//
+// 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: Apac
@@ -441,98 +441,74 @@ bool RISCVABIInfo::detectVLSCCEligibleStruct(QualType Ty,
unsigned ABIVLen,
// __attribute__((vector_size(64))) int d;
// }
//
- // Struct of 1 fixed-length vector is passed as a scalable vector.
- // Struct of >1 fixed-length vectors are pa
@@ -441,98 +441,74 @@ bool RISCVABIInfo::detectVLSCCEligibleStruct(QualType Ty,
unsigned ABIVLen,
// __attribute__((vector_size(64))) int d;
// }
//
- // Struct of 1 fixed-length vector is passed as a scalable vector.
- // Struct of >1 fixed-length vectors are pa
https://github.com/4vtomat updated
https://github.com/llvm/llvm-project/pull/147173
>From 1934543b7ec215312eebefd152f7c9151c2d0e54 Mon Sep 17 00:00:00 2001
From: Brandon Wu
Date: Sat, 5 Jul 2025 21:32:28 -0700
Subject: [PATCH 1/2] [RISCV] Correct type lowering of struct of fixed-vector
array i
wenju-he wrote:
> > > Perhaps we need a stripped down OpenCL header, like
> > > `clc/opencl/opencl-base.h` which includes just the types and macro defs?
> >
> >
> > See #146840 for an example of this approach.
>
> thanks @frasercrmck I'll update OpenCL headers of this PR after #146840 is
> l
https://github.com/shafik closed
https://github.com/llvm/llvm-project/pull/146960
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Shafik Yaghmour
Date: 2025-07-07T17:53:45-07:00
New Revision: 6efa366b43686bd8b1ec509e589752535507866e
URL:
https://github.com/llvm/llvm-project/commit/6efa366b43686bd8b1ec509e589752535507866e
DIFF:
https://github.com/llvm/llvm-project/commit/6efa366b43686bd8b1ec509e589752535507866e.dif
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/6] Add alignment attr & propagate alignment through
Author: Abhinav Gaba
Date: 2025-07-07T23:47:02Z
New Revision: 02f60fda3cb28f14681f8a4252bc832392c91fef
URL:
https://github.com/llvm/llvm-project/commit/02f60fda3cb28f14681f8a4252bc832392c91fef
DIFF:
https://github.com/llvm/llvm-project/commit/02f60fda3cb28f14681f8a4252bc832392c91fef.diff
LOG:
https://github.com/shashi1687 edited
https://github.com/llvm/llvm-project/pull/147400
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sarnex closed
https://github.com/llvm/llvm-project/pull/146891
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sarnex wrote:
🚀
https://github.com/llvm/llvm-project/pull/146891
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shashi1687 ready_for_review
https://github.com/llvm/llvm-project/pull/147400
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shashi1687 edited
https://github.com/llvm/llvm-project/pull/147400
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
AdamGlass wrote:
Change isn't Windows specific -- seems generally useful. You're right that it
enshrines the functionality responsible rather than desire 'don't get cute with
the prologue'. I'm open to a better name.
re: __declspec() -- there is no compatibility requirement for this choice.
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
igorkudrin wrote:
> Co
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
zygoloid wrote:
> Your
efriedma-quic wrote:
As a practical matter, I don't think LLVM supports shrink-wrapping on Windows
at the moment. I mean, I guess it's something someone could theoretically look
into at some point, but the interaction with unwind info is complicated.
Can we define what it means to "shrink-wra
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/aviralg created
https://github.com/llvm/llvm-project/pull/147410
Tuple structured bindings can introduce new variable declarations under
`BindingDecl` nodes which are currently ignored by the infinite loop checker.
This PR implements support for extracting variables from the
https://github.com/vbvictor approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/146830
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/artemcm updated
https://github.com/llvm/llvm-project/pull/147405
>From 1e1b8ed2a995f4969782c257dc03713b52839573 Mon Sep 17 00:00:00 2001
From: Artem Chikin
Date: Mon, 7 Jul 2025 13:56:41 -0700
Subject: [PATCH] [APINotes] Add support for capturing all possible versioned
APINo
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Victor Chernyakin (localspook)
Changes
```cpp
for (std::string OptionName : {
#define GET_CHECKER_OPTIONS
#define CHECKER_OPTION(TYPE, CHECKER, OPTION_NAME, DESCRIPTION, DEFAULT, \
RELEASE, HIDDEN)
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
zygoloid wrote:
That s
https://github.com/zygoloid requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/147221
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
zygoloid wrote:
I beli
https://github.com/hoodmane edited
https://github.com/llvm/llvm-project/pull/147076
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hoodmane updated
https://github.com/llvm/llvm-project/pull/147076
>From 2009bb945f57c67daa522448eddb2cc01aac4369 Mon Sep 17 00:00:00 2001
From: Hood Chatham
Date: Wed, 2 Jul 2025 20:53:56 +0200
Subject: [PATCH 1/8] Add __builtin_wasm_test_function_pointer_signature
This uses
@@ -1641,6 +1641,17 @@ def warn_implicitly_retains_self : Warning <
"block implicitly retains 'self'; explicitly mention 'self' to indicate "
"this is intended behavior">,
InGroup>, DefaultIgnore;
+def warn_blocks_capturing_this : Warning<"block implicitly captures 'this'
@@ -165,12 +165,8 @@ mlir::Value ComplexExprEmitter::VisitChooseExpr(ChooseExpr
*e) {
mlir::Value
ComplexExprEmitter::VisitCXXScalarValueInitExpr(CXXScalarValueInitExpr *e) {
mlir::Location loc = cgf.getLoc(e->getExprLoc());
- QualType complexElemTy =
- e->getType()->c
efriedma-quic wrote:
We shouldn't have invalid decls unless we've emitted an error.
If we're making some decision like "this function is an error if it's used as a
host function", we should probably be marking the FunctionDecl explicitly with
that decision, and CodeGen shouldn't try to emit su
@@ -165,12 +165,8 @@ mlir::Value ComplexExprEmitter::VisitChooseExpr(ChooseExpr
*e) {
mlir::Value
ComplexExprEmitter::VisitCXXScalarValueInitExpr(CXXScalarValueInitExpr *e) {
mlir::Location loc = cgf.getLoc(e->getExprLoc());
- QualType complexElemTy =
- e->getType()->c
https://github.com/andykaylor approved this pull request.
I strongly approve!
https://github.com/llvm/llvm-project/pull/147365
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Bigcheese wrote:
I'll try to review it this week.
https://github.com/llvm/llvm-project/pull/107168
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lei137 created
https://github.com/llvm/llvm-project/pull/147382
Initial clean up in prep for adding more accumulate builtins to clang.
>From 36d2b8fc61ab67b8d8010e8b33e3e871f8e1c4f2 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 4 Jul 2025 14:53:15 -0500
Subject: [PATCH
https://github.com/mstorsjo closed
https://github.com/llvm/llvm-project/pull/147122
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Tomohiro Kashiwada
Date: 2025-07-07T22:55:53+03:00
New Revision: 122afae10ed28564b64530de571ce8e4ce584b2c
URL:
https://github.com/llvm/llvm-project/commit/122afae10ed28564b64530de571ce8e4ce584b2c
DIFF:
https://github.com/llvm/llvm-project/commit/122afae10ed28564b64530de571ce8e4ce584b2c.
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/147308
>From 8f1c383f8f84fb636af4a78e0ff504830f9272f5 Mon Sep 17 00:00:00 2001
From: Oleksandr Tarasiuk
Date: Mon, 7 Jul 2025 17:20:48 +0300
Subject: [PATCH 1/3] [Clang] disallow operator in attribute argument list
@@ -161,6 +162,17 @@ mlir::Value ComplexExprEmitter::VisitChooseExpr(ChooseExpr
*e) {
return Visit(e->getChosenSubExpr());
}
+mlir::Value
+ComplexExprEmitter::VisitCXXScalarValueInitExpr(CXXScalarValueInitExpr *e) {
+ mlir::Location loc = cgf.getLoc(e->getExprLoc());
+ Qu
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/147143
>From d8c01a7c98bea2440ab8b704501f7e3efb33549d Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 5 Jul 2025 14:27:21 +0200
Subject: [PATCH 1/2] [CIR] Implement CXXScalarValueInitExpr for ComplexType
-
https://github.com/mstorsjo approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/147278
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mstorsjo closed
https://github.com/llvm/llvm-project/pull/147108
___
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: Lei Huang (lei137)
Changes
Initial clean up in prep for adding more accumulate builtins to clang.
---
Full diff: https://github.com/llvm/llvm-project/pull/147382.diff
1 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsPPC.
Author: Tomohiro Kashiwada
Date: 2025-07-07T22:49:50+03:00
New Revision: 968410ffd1bacbf540595e0b6d2628ed559098e9
URL:
https://github.com/llvm/llvm-project/commit/968410ffd1bacbf540595e0b6d2628ed559098e9
DIFF:
https://github.com/llvm/llvm-project/commit/968410ffd1bacbf540595e0b6d2628ed559098e9.
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/147106
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
efriedma-quic wrote:
I haven't really thought about what the right strategy is for diagnostics here,
specifically, but it looks like the OpenMP diagnostic suppression isn't working
correctly. If there's an error in a function, that should stop CodeGen from
seeing the function at all. If it's
@@ -141,6 +141,42 @@ void
nullable_value_after_swap(BloombergLP::bdlb::NullableValue &opt1, Bloo
}
}
+void assertion_handler_imp() __attribute__((analyzer_noreturn));
+
+void assertion_handler() {
+do {
+ assertion_handler_imp();
+} while(0);
+}
+
+void functi
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/144235
>From acab11ee6a8e8041dab689c5518229e358d4f5a1 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Mon, 7 Jul 2025 20:52:33 +0200
Subject: [PATCH] [CIR] Upstream ComplexRealPtrOp for ComplexType
---
clang/i
https://github.com/tsepez updated
https://github.com/llvm/llvm-project/pull/147363
>From c389b056250871b802d34de6ba2cb0cf365b751a Mon Sep 17 00:00:00 2001
From: Tom Sepez
Date: Mon, 7 Jul 2025 17:59:53 +
Subject: [PATCH 1/2] Report wider source range for unsafe buffers warnings
---
clang/
@@ -82,12 +85,17 @@ llvm::LogicalResult
prepareCIRModuleDataLayout(mlir::ModuleOp mod,
// Data layout is fully determined by the target triple. Here we only pass
the
// triple to get the data layout.
+ llvm::IntrusiveRefCntPtr diagID(
+ new clang::DiagnosticIDs);
+
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/10490
Here is the relev
@@ -82,12 +85,17 @@ llvm::LogicalResult
prepareCIRModuleDataLayout(mlir::ModuleOp mod,
// Data layout is fully determined by the target triple. Here we only pass
the
// triple to get the data layout.
+ llvm::IntrusiveRefCntPtr diagID(
+ new clang::DiagnosticIDs);
+
https://github.com/yasster updated
https://github.com/llvm/llvm-project/pull/146796
>From 2ccf38469c28392597199e98515dd5a21cfc7c84 Mon Sep 17 00:00:00 2001
From: Yassine Missoum
Date: Tue, 1 Jul 2025 15:25:21 -0700
Subject: [PATCH 1/2] Fixed double finally block execution
---
clang/lib/CodeGe
@@ -4111,7 +4111,10 @@ static ActionResult
getPatternForClassTemplateSpecialization(
if (Ambiguous) {
// Partial ordering did not produce a clear winner. Complain.
Inst.Clear();
- ClassTemplateSpec->setInvalidDecl();
+
+ if (!S.isS
https://github.com/jansvoboda11 approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/146976
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hoodmane updated
https://github.com/llvm/llvm-project/pull/147076
>From ba4e21486455fcee36e5521050562cd9be35e9b4 Mon Sep 17 00:00:00 2001
From: Hood Chatham
Date: Sat, 10 May 2025 22:01:09 -0400
Subject: [PATCH 1/9] [WebAssembly] Add ref.test_func handling to AsmParser
---
https://github.com/AaronBallman approved this pull request.
LGTM, thank you!
https://github.com/llvm/llvm-project/pull/144619
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 550 matches
Mail list logo