Author: Timm Baeder
Date: 2025-08-28T08:53:45+02:00
New Revision: da656858936fef99e7e6d7ee6f775aa812d49530
URL:
https://github.com/llvm/llvm-project/commit/da656858936fef99e7e6d7ee6f775aa812d49530
DIFF:
https://github.com/llvm/llvm-project/commit/da656858936fef99e7e6d7ee6f775aa812d49530.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/155761
___
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/155740
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paperchalice updated
https://github.com/llvm/llvm-project/pull/155740
>From b7f753a952b75256991f6b1e76088bd23a7b1849 Mon Sep 17 00:00:00 2001
From: PaperChalice
Date: Thu, 28 Aug 2025 11:25:39 +0800
Subject: [PATCH 1/4] [IR][CodeGen] Remove "approx-func-fp-math" attribute
--
Author: Timm Baeder
Date: 2025-08-28T08:46:06+02:00
New Revision: 02ade22aa824597b31c1eaaa041830ff54e5b71c
URL:
https://github.com/llvm/llvm-project/commit/02ade22aa824597b31c1eaaa041830ff54e5b71c
DIFF:
https://github.com/llvm/llvm-project/commit/02ade22aa824597b31c1eaaa041830ff54e5b71c.diff
L
vbvictor wrote:
As an alternative solution, your Idea can be a separate check but you should
file an issue first to gather some initial feedback.
https://github.com/llvm/llvm-project/pull/155731
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/155757
___
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-quick`
running on `linaro-clang-aarch64-quick` while building `clang` at step 5 "ninja
check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/65/builds/21880
Here is the relevant pie
https://github.com/yingcong-wu updated
https://github.com/llvm/llvm-project/pull/154902
>From 57ebc553828bf696b4bde30789e609ba96e94d6d Mon Sep 17 00:00:00 2001
From: Wu Yingcong
Date: Fri, 22 Aug 2025 15:16:47 +0800
Subject: [PATCH 1/5] fix missing by one bug
---
libunwind/src/DwarfParser.hpp
https://github.com/yingcong-wu updated
https://github.com/llvm/llvm-project/pull/154902
>From 57ebc553828bf696b4bde30789e609ba96e94d6d Mon Sep 17 00:00:00 2001
From: Wu Yingcong
Date: Fri, 22 Aug 2025 15:16:47 +0800
Subject: [PATCH 1/4] fix missing by one bug
---
libunwind/src/DwarfParser.hpp
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/155756
>From bbe785eb324a33b8d43a48439a09c03401595e0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 28 Aug 2025 06:02:54 +0200
Subject: [PATCH] ElementsInitialized
---
clang/lib/AST/ByteCod
yingcong-wu wrote:
Added a e2e regression test. I have to manually mark the .eh_frame_hdr as
omitted in order to make libunwind to do the linear seach which will invoke the
affected logic.
Local test result:
```
zsh$> clang 1.c -lunwind
zsh$> ldd a.out
linux-vdso.so.1 (0x7ffc3b16b0
@@ -6870,6 +6870,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction
&JA,
options::OPT_fno_unroll_loops);
Args.AddLastArg(CmdArgs, options::OPT_floop_interchange,
options::OPT_fno_loop_interchange);
+ Args.AddLastArg(CmdArgs, op
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Move the `APValue` into `EvaluationResult` instead.
For a large primitive array (`#embed` of the sqlite3 amalgamation), this
improves compile times by around 25%.
---
Full diff: https://github.com/llvm/llvm
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/155757
Move the `APValue` into `EvaluationResult` instead.
For a large primitive array (`#embed` of the sqlite3 amalgamation), this
improves compile times by around 25%.
>From 19bd8f5e21e06903dfec9b230f308376bd3fa82
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/155713
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Brad Smith
Date: 2025-08-28T02:02:25-04:00
New Revision: 5d774ec8d183cbbb243c57f50d891822211d3ec2
URL:
https://github.com/llvm/llvm-project/commit/5d774ec8d183cbbb243c57f50d891822211d3ec2
DIFF:
https://github.com/llvm/llvm-project/commit/5d774ec8d183cbbb243c57f50d891822211d3ec2.diff
LO
arsenm wrote:
flang is also adding it
https://github.com/llvm/llvm-project/pull/155740
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MaskRay wrote:
You need to click "Re-request review" from folks who have requested changes.
https://github.com/llvm/llvm-project/pull/142686
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
MythreyaK wrote:
Oh sounds good, I'll give that a shot!
https://github.com/llvm/llvm-project/pull/155561
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/negativ updated
https://github.com/llvm/llvm-project/pull/150952
>From 417b4e465744f9a1d1704c87da4587626c9f5411 Mon Sep 17 00:00:00 2001
From: Andrey Karlov
Date: Mon, 28 Jul 2025 16:23:21 +0300
Subject: [PATCH 1/2] Initial implementation
---
.../bugprone/unchecked-optional
hnrklssn wrote:
ping :)
https://github.com/llvm/llvm-project/pull/154147
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Bäder
Date: 2025-08-28T07:04:21+02:00
New Revision: b8aeec1626405ba4858732af44743a5dc5bce023
URL:
https://github.com/llvm/llvm-project/commit/b8aeec1626405ba4858732af44743a5dc5bce023
DIFF:
https://github.com/llvm/llvm-project/commit/b8aeec1626405ba4858732af44743a5dc5bce023.diff
LO
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
Author: None (paperchalice)
Changes
Remove "approx-func-fp-math" attribute and related command line option, users
should always use afn flag in IR.
Resolve FIXME in `TargetMachine::resetTargetOptions` partially.
---
Full diff: https://github.co
https://github.com/paperchalice ready_for_review
https://github.com/llvm/llvm-project/pull/155740
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paperchalice edited
https://github.com/llvm/llvm-project/pull/155740
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
madhur13490 wrote:
Ping!
https://github.com/llvm/llvm-project/pull/142686
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/devnexen approved this pull request.
https://github.com/llvm/llvm-project/pull/155713
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-5` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available
Author: Timm Baeder
Date: 2025-08-28T06:19:59+02:00
New Revision: 5a9f1039c7732920dd1f4374074fdf09b58184ea
URL:
https://github.com/llvm/llvm-project/commit/5a9f1039c7732920dd1f4374074fdf09b58184ea
DIFF:
https://github.com/llvm/llvm-project/commit/5a9f1039c7732920dd1f4374074fdf09b58184ea.diff
L
Timm =?utf-8?q?Bäder?= ,
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/155368
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
github-actions[bot] wrote:
@JaagupAverin 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 b
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/155105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jaagup Averin
Date: 2025-08-28T00:19:08-04:00
New Revision: a0cc776732980e792b201e3848c1049dfc3b1836
URL:
https://github.com/llvm/llvm-project/commit/a0cc776732980e792b201e3848c1049dfc3b1836
DIFF:
https://github.com/llvm/llvm-project/commit/a0cc776732980e792b201e3848c1049dfc3b1836.diff
https://github.com/HighCommander4 approved this pull request.
Looks good to me, thanks!
https://github.com/llvm/llvm-project/pull/155105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,15 @@
+// RUN: not %clang_cc1 -std=c++20 -fsyntax-only %s 2>&1 \
+// RUN: | FileCheck %s --implicit-check-not='Assertion
`NumElements.isPositive()` failed'
+
tbaederr wrote:
Oh and the test should go into `test/AST/ByteCode/`
https://github.com/llv
@@ -0,0 +1,15 @@
+// RUN: not %clang_cc1 -std=c++20 -fsyntax-only %s 2>&1 \
+// RUN: | FileCheck %s --implicit-check-not='Assertion
`NumElements.isPositive()` failed'
+
tbaederr wrote:
You don't use `FileCheck` for these kinds of tests, use `-verify`.
https:/
HighCommander4 wrote:
Superseded by https://github.com/llvm/llvm-project/pull/140959.
https://github.com/llvm/llvm-project/pull/121449
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/121449
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/paperchalice updated
https://github.com/llvm/llvm-project/pull/155740
>From b7f753a952b75256991f6b1e76088bd23a7b1849 Mon Sep 17 00:00:00 2001
From: PaperChalice
Date: Thu, 28 Aug 2025 11:25:39 +0800
Subject: [PATCH] [IR][CodeGen] Remove "approx-func-fp-math" attribute
---
c
https://github.com/wangpc-pp approved this pull request.
LGTM.
Can we add some tests if it doesn't bother you?
https://github.com/llvm/llvm-project/pull/155710
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mail
github-actions[bot] wrote:
@aketchum15 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
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/140959
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: aketchum15
Date: 2025-08-27T23:59:09-04:00
New Revision: 8c3daed84ce6372fff02383942d3fe1e40ff389e
URL:
https://github.com/llvm/llvm-project/commit/8c3daed84ce6372fff02383942d3fe1e40ff389e
DIFF:
https://github.com/llvm/llvm-project/commit/8c3daed84ce6372fff02383942d3fe1e40ff389e.diff
LO
https://github.com/HighCommander4 approved this pull request.
https://github.com/llvm/llvm-project/pull/140959
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/155737
>From 0b13b0e77e184666d46450b264e1237e6c41a1de Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Wed, 27 Aug 2025 22:45:25 -0400
Subject: [PATCH 1/3] Enable nullptr handle with negative elemsize in a dynami
@@ -594,6 +594,19 @@ TEST(ToolChainTest, UEFICallingConventionTest) {
EXPECT_EQ(compiler.getTarget().getCallingConvKind(true),
TargetInfo::CallingConvKind::CCK_MicrosoftWin64);
+
+ TrStr = "loongarch64-unknown-uefi";
+ Tr.setOS(llvm::Triple::OSType::UEFI);
+ T
@@ -77,3 +77,9 @@
// RUN: not %clang_cl --target=x86-unknown-uefi -o %t.o %s 2> %t.err
// RUN: FileCheck --input-file=%t.err -check-prefixes=CHECK-x86 %s
// CHECK-x86: error: unknown target triple 'x86-unknown-uefi'{{$}}
+
+// RUN: not %clang --target=loongarch-unknown-uefi -o
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/155737
>From 0b13b0e77e184666d46450b264e1237e6c41a1de Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Wed, 27 Aug 2025 22:45:25 -0400
Subject: [PATCH 1/2] Enable nullptr handle with negative elemsize in a dynami
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot3` while building
`clang,lldb` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/169/builds/14447
Here is the relevant p
https://github.com/Mr-Anyone updated
https://github.com/llvm/llvm-project/pull/155506
>From 09779d0295dffc66b2c7341d71f33c2f0bd49fca Mon Sep 17 00:00:00 2001
From: Vincent
Date: Thu, 14 Aug 2025 21:50:47 +0800
Subject: [PATCH 1/2] [clang] Fix crash when __builtin_function_start is given
an inv
@@ -0,0 +1,15 @@
+// RUN: not %clang_cc1 -std=c++20 -fsyntax-only %s 2>&1 \
+// RUN: | FileCheck %s --implicit-check-not='Assertion
`NumElements.isPositive()` failed'
+
+// In C++20, constexpr dynamic allocation is permitted *only* if valid.
+// A negative element count must be
Author: Chuanqi Xu
Date: 2025-08-28T10:55:37+08:00
New Revision: f0dc2660997e9dc1dfb017951a1124c5db2e4c23
URL:
https://github.com/llvm/llvm-project/commit/f0dc2660997e9dc1dfb017951a1124c5db2e4c23
DIFF:
https://github.com/llvm/llvm-project/commit/f0dc2660997e9dc1dfb017951a1124c5db2e4c23.diff
LO
TianYe717 wrote:
> This should have a release note, right?
Thanks for pointing that out — happy to add a release note. I’m just wondering
though: since this PR is part of the larger
[[feature-request]](https://github.com/llvm/llvm-project/issues/30794), should
we add a note for each sub-issue
https://github.com/snarang181 edited
https://github.com/llvm/llvm-project/pull/155737
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/snarang181 edited
https://github.com/llvm/llvm-project/pull/155737
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/snarang181 edited
https://github.com/llvm/llvm-project/pull/155737
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/snarang181 created
https://github.com/llvm/llvm-project/pull/155737
Fixes https://github.com/llvm/llvm-project/issues/152904
>From 0b13b0e77e184666d46450b264e1237e6c41a1de Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Wed, 27 Aug 2025 22:45:25 -0400
Subject: [PATCH] E
jyknight wrote:
Heads up, this is breaking modules support in our buildsystem. I'm getting
errors now like this:
```
libcxx/include/__atomic/memory_order.h:31:27: error: missing '#include
<__atomic/memory_order.h>'; '__memory_order_underlying_t' must be declared
before it is used
31 | enum
https://github.com/topperc updated
https://github.com/llvm/llvm-project/pull/155710
>From 41c79fa197820c96637f03c8c2f9cdcaeb3ff5cc Mon Sep 17 00:00:00 2001
From: Craig Topper
Date: Wed, 27 Aug 2025 15:36:08 -0700
Subject: [PATCH] [RISCV] Verify vfwmaccbf16 and vfncvtbf16 FRM argument in
SemaRI
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
@llvm/pr-subscribers-clang-tools-extra
Author: Julia Hansbrough (flowerhack)
Changes
…opy.
Adds an option to performance-for-range-copy that alerts when a loop variable
is copied and modified.
This is a bugprone pattern because the programm
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/flowerhack created
https://github.com/llvm/llvm-project/pull/155731
…opy.
Adds an option to performance-for-range-copy that alerts when a loop variable
is copied and modified.
This is a bugprone pattern because the programmer in this case often assumes
they are modifying t
https://github.com/razvanlupusoru approved this pull request.
Impressively thorough testing! Thank you!
https://github.com/llvm/llvm-project/pull/155635
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/155620
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -15884,6 +15884,58 @@ static bool checkBuiltinVectorMathMixedEnums(Sema &S,
Expr *LHS, Expr *RHS,
return false;
}
+/// Check if all arguments have the same type. If the types don't match, emit
an
+/// error message and return true. Otherwise return false.
+///
+/// For
@@ -15884,6 +15884,58 @@ static bool checkBuiltinVectorMathMixedEnums(Sema &S,
Expr *LHS, Expr *RHS,
return false;
}
+/// Check if all arguments have the same type. If the types don't match, emit
an
+/// error message and return true. Otherwise return false.
+///
+/// For
https://github.com/Sirraide commented:
This still needs a release note.
https://github.com/llvm/llvm-project/pull/155620
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -15884,6 +15884,58 @@ static bool checkBuiltinVectorMathMixedEnums(Sema &S,
Expr *LHS, Expr *RHS,
return false;
}
+/// Check if all arguments have the same type. If the types don't match, emit
an
+/// error message and return true. Otherwise return false.
+///
+/// For
@@ -15884,6 +15884,58 @@ static bool checkBuiltinVectorMathMixedEnums(Sema &S,
Expr *LHS, Expr *RHS,
return false;
}
+/// Check if all arguments have the same type. If the types don't match, emit
an
+/// error message and return true. Otherwise return false.
+///
+/// For
@@ -15905,13 +15957,11 @@ Sema::BuiltinVectorMath(CallExpr *TheCall,
SourceLocation LocA = Args[0]->getBeginLoc();
QualType TyA = Args[0]->getType();
- QualType TyB = Args[1]->getType();
if (checkMathBuiltinElementType(*this, LocA, TyA, ArgTyRestr, 1))
return st
@@ -15948,17 +15998,12 @@ bool Sema::BuiltinElementwiseTernaryMath(
return true;
}
- TheCall->setArg(0, Args[0]);
- for (int I = 1; I < 3; ++I) {
-if (Args[0]->getType().getCanonicalType() !=
-Args[I]->getType().getCanonicalType()) {
- return Diag(Ar
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/155620
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Arghnews wrote:
> We're putting these tests in the appropriate
> llvm-project\clang\test\CodeGen\X86*-builtins.c files - search for
> TEST_CONSTEXPR
I have been splitting these out as specified, however I've run into an issue.
Test files using `-fexperimental-new-constant-interpreter` like
`
TianYe717 wrote:
> @TianYe717 Sorry I missed this - will take a look soon
No worries, thank you!
https://github.com/llvm/llvm-project/pull/154662
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
https://github.com/jeremyd2019 converted_to_draft
https://github.com/llvm/llvm-project/pull/147132
___
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 `hip-third-party-libs-test`
running on `ext_buildbot_hw_05-hip-docker` while building `clang,llvm,mlir` at
step 4 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/206/builds/5420
Here is th
https://github.com/nhaehnle updated
https://github.com/llvm/llvm-project/pull/155724
From cbebbccc6c0638e396ab0c03106aafaf531ec66f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?=
Date: Wed, 27 Aug 2025 16:08:20 -0700
Subject: [PATCH] clang/AMDGPU: Add __builtin_amdgcn_inverse_b
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 origin/main HEAD --extensions cl,cpp --
clang/lib/CodeGen/TargetBuiltins/AMDGPU.cpp
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Nicolai Hähnle (nhaehnle)
Changes
Add builtins that expose the underlying llvm.amdgcn.inverse.ballot intrinsic
that we've had for a while.
This allows more explicitly writing code that selects or branches in terms of
lane masks,
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nicolai Hähnle (nhaehnle)
Changes
Add builtins that expose the underlying llvm.amdgcn.inverse.ballot intrinsic
that we've had for a while.
This allows more explicitly writing code that selects or branches in terms of
lane masks, which ca
https://github.com/nhaehnle created
https://github.com/llvm/llvm-project/pull/155724
Add builtins that expose the underlying llvm.amdgcn.inverse.ballot intrinsic
that we've had for a while.
This allows more explicitly writing code that selects or branches in terms of
lane masks, which can lea
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Craig Topper (topperc)
Changes
We need to check that the FRM value is an integer constant expression with
value 0-4.
---
Full diff: https://github.com/llvm/llvm-project/pull/155710.diff
1 Files Affected:
- (modified) clang/lib
@@ -130,6 +132,44 @@ void
CIRGenBuilderTy::computeGlobalViewIndicesFromFlatOffset(
computeGlobalViewIndicesFromFlatOffset(offset, subType, layout, indices);
}
+static mlir::Type getAttributeType(mlir::Attribute attr) {
+ return mlir::cast(attr).getType();
+}
+
+cir::Record
@@ -21,20 +20,571 @@
#include "clang/AST/APValue.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
+#include "clang/AST/CharUnits.h"
#include "clang/AST/OperationKinds.h"
#include "clang/AST/RecordLayout.h"
#include "clang/AST/StmtVisitor.h"
#include "clang/B
@@ -130,6 +132,44 @@ void
CIRGenBuilderTy::computeGlobalViewIndicesFromFlatOffset(
computeGlobalViewIndicesFromFlatOffset(offset, subType, layout, indices);
}
+static mlir::Type getAttributeType(mlir::Attribute attr) {
+ return mlir::cast(attr).getType();
+}
+
+cir::Record
@@ -130,6 +132,44 @@ void
CIRGenBuilderTy::computeGlobalViewIndicesFromFlatOffset(
computeGlobalViewIndicesFromFlatOffset(offset, subType, layout, indices);
}
+static mlir::Type getAttributeType(mlir::Attribute attr) {
+ return mlir::cast(attr).getType();
+}
+
+cir::Record
@@ -283,6 +283,16 @@ Type RecordType::getLargestMember(const ::mlir::DataLayout
&dataLayout) const {
});
}
+bool RecordType::isLayoutIdentical(const RecordType &other) {
+ if (getImpl() == other.getImpl())
+return true;
+
+ if (getPacked() != other.getPacked())
+
@@ -130,6 +132,44 @@ void
CIRGenBuilderTy::computeGlobalViewIndicesFromFlatOffset(
computeGlobalViewIndicesFromFlatOffset(offset, subType, layout, indices);
}
+static mlir::Type getAttributeType(mlir::Attribute attr) {
+ return mlir::cast(attr).getType();
+}
+
+cir::Record
https://github.com/brad0 updated
https://github.com/llvm/llvm-project/pull/155713
>From 13c3479ac3b8b13b2d2829c6ad9b77e736e77b9f Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Wed, 27 Aug 2025 18:50:41 -0400
Subject: [PATCH] [Driver] Enable outline atomics for OpenBSD/aarch64
---
clang/lib/D
@@ -5177,6 +5190,17 @@ static std::pair getPrivateItem(Sema
&S, Expr *&RefExpr,
IsArrayExpr = ArraySubscript;
} else if (auto *OASE = dyn_cast_or_null(RefExpr)) {
Expr *Base = OASE->getBase()->IgnoreParenImpCasts();
+ if (S.getLangOpts().OpenMP >= 60 && !A
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: Brad Smith (brad0)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/155713.diff
2 Files Affected:
- (modified) clang/lib/Driver/ToolChains/OpenBSD.h (+5)
- (modified) clang/test/Driver
https://github.com/JustinStitt edited
https://github.com/llvm/llvm-project/pull/148914
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/brad0 created
https://github.com/llvm/llvm-project/pull/155713
None
>From b7f1d3166b0be2d774382a1c7531a1c46c14d8a0 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Wed, 27 Aug 2025 18:50:41 -0400
Subject: [PATCH] [Driver] Enable outline atomics for OpenBSD/aarch64
---
clang
JustinStitt wrote:
@efriedma-quic thanks for your review. I've tried to address the concerns you
brought up and marked the review points as resolved. If I didn't properly fix
the issues then please un-resolve the messages. I'm happy to iterate :)
https://github.com/llvm/llvm-project/pull/14891
https://github.com/Artem-B approved this pull request.
Nice. LGTM.
https://github.com/llvm/llvm-project/pull/155489
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Artem-B edited
https://github.com/llvm/llvm-project/pull/155489
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -199,6 +233,19 @@ static bool CanElideOverflowCheck(const ASTContext &Ctx,
const BinOpInfo &Op) {
if (!Op.mayHaveIntegerOverflow())
return true;
+ const UnaryOperator *UO = dyn_cast(Op.E);
+ if (UO && Ctx.isUnaryOverflowPatternExcluded(UO))
+return true;
+
+ c
@@ -1553,6 +1563,7 @@ FormatStyle getLLVMStyle(FormatStyle::LanguageKind
Language) {
LLVMStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_All;
LLVMStyle.AllowShortIfStatementsOnASingleLine = FormatStyle::SIS_Never;
LLVMStyle.AllowShortLambdasOnASingleLine = Form
@@ -3189,16 +3227,21 @@ ScalarExprEmitter::EmitScalarPrePostIncDec(const
UnaryOperator *E, LValue LV,
// Note that signed integer inc/dec with width less than int can't
// overflow because of promotion rules; we're just eliding a few steps
// here.
-} els
1 - 100 of 362 matches
Mail list logo