https://github.com/zeyi2 updated
https://github.com/llvm/llvm-project/pull/165659
>From 0f42a4416fbc86556d45df83fbbe269253b6eb8b Mon Sep 17 00:00:00 2001
From: mtx
Date: Thu, 30 Oct 2025 13:12:26 +0800
Subject: [PATCH 1/3] [clang-tidy] Rename `cert-dcl58-cpp` to
`bugprone-dont-modify-std-names
https://github.com/zeyi2 updated
https://github.com/llvm/llvm-project/pull/165659
>From 0f42a4416fbc86556d45df83fbbe269253b6eb8b Mon Sep 17 00:00:00 2001
From: mtx
Date: Thu, 30 Oct 2025 13:12:26 +0800
Subject: [PATCH 1/2] [clang-tidy] Rename `cert-dcl58-cpp` to
`bugprone-dont-modify-std-names
github-actions[bot] wrote:
:warning: C/C++ code linter clang-tidy found issues in your code. :warning:
You can test this locally with the following command:
```bash
git diff -U0 origin/main...HEAD --
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tools-extra/clang-t
@@ -685,6 +685,13 @@ void ModuleDepCollectorPP::EndOfMainFile() {
if (!MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude.empty())
MDC.addFileDep(MDC.ScanInstance.getPreprocessorOpts().ImplicitPCHInclude);
+ if (Module *CurrentModule = PP.getCurrentModuleImplemen
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/161019
>From 569781528eb317a9d186d2b7d19bb0468d177d27 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Sat, 27 Sep 2025 13:04:11 -0700
Subject: [PATCH] [alpha.webkit.UnretainedCallArgsChecker] Recognize
[allocObj() ini
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: mitchell (zeyi2)
Changes
Closes [#157290](https://github.com/llvm/llvm-project/issues/157290)
---
Full diff: https://github.com/llvm/llvm-project/pull/165659.diff
12 Files Affected:
- (modified) clang-tools-extra/clang-tidy/
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: mitchell (zeyi2)
Changes
Closes [#157290](https://github.com/llvm/llvm-project/issues/157290)
---
Full diff: https://github.com/llvm/llvm-project/pull/165659.diff
12 Files Affected:
- (modified) clang-tools-extra/clang-tidy/bugpron
https://github.com/zeyi2 created
https://github.com/llvm/llvm-project/pull/165659
Closes [#157290](https://github.com/llvm/llvm-project/issues/157290)
>From 0f42a4416fbc86556d45df83fbbe269253b6eb8b Mon Sep 17 00:00:00 2001
From: mtx
Date: Thu, 30 Oct 2025 13:12:26 +0800
Subject: [PATCH] [clang
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ryosuke Niwa (rniwa)
Changes
Fix the assertion failure in TrivialFunctionAnalysis::isTrivialImpl with a
coroutine body by caching the result with WithCachedResult.
---
Full diff: https://github.com/llvm/llvm-project/pull/165650.diff
2 F
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ryosuke Niwa (rniwa)
Changes
Fix the assertion failure in TrivialFunctionAnalysis::isTrivialImpl with a
coroutine body by caching the result with WithCachedResult.
---
Full diff: https://github.com/llvm/llvm-project/pull
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/165650
Fix the assertion failure in TrivialFunctionAnalysis::isTrivialImpl with a
coroutine body by caching the result with WithCachedResult.
>From da02273e8a53733de4b40cc21478ca7c31d2c4a7 Mon Sep 17 00:00:00 2001
From:
@@ -30,6 +30,14 @@ extern int __unw_get_reg(unw_cursor_t *, unw_regnum_t,
unw_word_t *);
extern int __unw_get_fpreg(unw_cursor_t *, unw_regnum_t, unw_fpreg_t *);
extern int __unw_set_reg(unw_cursor_t *, unw_regnum_t, unw_word_t);
extern int __unw_set_fpreg(unw_cursor_t *, unw_
@@ -1855,7 +1856,16 @@ class _LIBUNWIND_HIDDEN Registers_arm64 {
v128getVectorRegister(int num) const;
voidsetVectorRegister(int num, v128 value);
static const char *getRegisterName(int num);
- voidjumpto() { __libunwind_Registers_arm64_jumpto(thi
@@ -1410,7 +1433,48 @@ void UnwindCursor::setFloatReg(int regNum,
unw_fpreg_t value) {
}
template void UnwindCursor::jumpto() {
+#ifdef _LIBUNWIND_TRACE_RET_INJECT
+ // clang-format off
ojhunt wrote:
just say no to clang format instructions :D
https://git
https://github.com/ojhunt edited
https://github.com/llvm/llvm-project/pull/165066
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ojhunt requested changes to this pull request.
There needs to be a better approach to determining how many frames to skip. My
intuition is that the easiest way would be to walk up the stack until you find
one of the initial entry points. That's annoying, but doable.
https://
https://github.com/zeyi2 updated
https://github.com/llvm/llvm-project/pull/165542
>From 106c7ed6dff8976a8dfc4b85aeed96a478cfab34 Mon Sep 17 00:00:00 2001
From: mtx
Date: Wed, 29 Oct 2025 16:25:37 +0800
Subject: [PATCH 1/2] Rename `cert-mem57-cpp` to
`bugprone-default-operator-new-alignment`
-
https://github.com/kees updated https://github.com/llvm/llvm-project/pull/164737
>From 4609f8c24170d3caf5245a140d4ff1c7cabbec5a Mon Sep 17 00:00:00 2001
From: Kees Cook
Date: Wed, 22 Oct 2025 23:56:41 +
Subject: [PATCH 1/5] [Clang][Sema] Allow counted_by on void* in GNU mode
The counted_by
@@ -1,11 +1,16 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only
+// RUN: %clang_cc1 %s -std=c++23 -verify -fsyntax-only
// expected-no-diagnostics
class C_in_class {
#include "../Sema/attr-callback.c"
};
+class ExplicitParameterObject {
+ __attribute__((callback(2, 1)))
@@ -11,13 +11,16 @@ struct S {
// the format argument is argument 2 here.
void g(const char*, ...) __attribute__((format(printf, 2, 3)));
const char* g2(const char*) __attribute__((format_arg(2)));
+ void g3(this S&, const char *, ...) __attribute__((format(printf, 2, 3)
@@ -123,6 +123,13 @@ inline bool isInstanceMethod(const Decl *D) {
return false;
}
+inline bool hasImplicitObjectParameter(const Decl *D) {
+ if (const auto *MethodDecl = dyn_cast(D))
+return MethodDecl->isInstance() &&
+ !MethodDecl->hasCXXExplicitFunctionObj
https://github.com/Sirraide commented:
I’m candidly not too surprised that there are still a few places left that we
forgot to update when we implemented deducing this...
https://github.com/llvm/llvm-project/pull/165586
___
cfe-commits mailing list
cf
@@ -11,6 +11,11 @@ struct S {
void h(const char*) __attribute__((nonnull(1))); // \
expected-error{{invalid for the implicit this argument}}
+
+ void i(this S* self, const char*) __attribute__((nonnull(1)));
+
+ void j(this S* self, const char*) __attribute__((nonnul
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/165586
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -328,7 +328,8 @@ class ParamIdx {
: Idx(Idx), HasThis(false), IsValid(true) {
assert(Idx >= 1 && "Idx must be one-origin");
if (const auto *FD = dyn_cast(D))
- HasThis = FD->isCXXInstanceMember();
+ HasThis = FD->isCXXInstanceMember() &&
-
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/165541
>From d010dc34d8831d4e417342580eac78ef6456eae3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 29 Oct 2025 11:13:47 +0100
Subject: [PATCH] [clang] Add Bytes/Column types to TextDiagnosti
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/165541
>From e49a8cf522c332d803b1a15d7cf5471839e894d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 29 Oct 2025 11:13:47 +0100
Subject: [PATCH] [clang] Add Bytes/Column types to TextDiagnosti
https://github.com/vitalybuka converted_to_draft
https://github.com/llvm/llvm-project/pull/151243
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/165541
>From 04e58fd44b7130a1f88687fe42a06615aaef7e37 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 29 Oct 2025 11:13:47 +0100
Subject: [PATCH] [clang] Add Bytes/Column types to TextDiagnosti
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/165541
>From c0c507dfcda2beb0233587b122e4cf44904dbc38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 29 Oct 2025 11:13:47 +0100
Subject: [PATCH] [clang] Add Bytes/Column types to TextDiagnosti
https://github.com/phoebewang approved this pull request.
Just a few minors, otherwise LGTM.
https://github.com/llvm/llvm-project/pull/165556
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
@@ -29,9 +29,7 @@ let Namespace = "X86" in {
def sub_xmm : SubRegIndex<128>;
def sub_ymm : SubRegIndex<256>;
def sub_mask_0 : SubRegIndex<-1>;
- def sub_mask_1 : SubRegIndex<-1, -1>;
- def sub_t0 : SubRegIndex<8192>;
- def sub_t1 : SubRegIndex
@@ -431,11 +429,7 @@ def TMM3: X86Reg<"tmm3", 3>;
def TMM4: X86Reg<"tmm4", 4>;
def TMM5: X86Reg<"tmm5", 5>;
def TMM6: X86Reg<"tmm6", 6>;
-def TMM7: X86Reg<"tmm7", 7>;
-// TMM register pairs
-def TPAIRS : RegisterTuples<[sub_t0, sub_t1],
-
@@ -38154,28 +38083,12 @@
X86TargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI,
case X86::PTDPBF8PS: Opc = X86::TDPBF8PS; break;
case X86::PTDPBHF8PS: Opc = X86::TDPBHF8PS; break;
case X86::PTDPHBF8PS: Opc = X86::TDPHBF8PS; break;
-case X86::PTDPHF8P
https://github.com/phoebewang edited
https://github.com/llvm/llvm-project/pull/165556
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4741,10 +4736,8 @@ static bool isAMXOpcode(unsigned Opc) {
return false;
case X86::TILELOADD:
case X86::TILESTORED:
- case X86::TILELOADD_EVEX:
case X86::TILESTORED_EVEX:
- case X86::PTILEPAIRLOAD:
- case X86::PTILEPAIRSTORE:
+ case X86::TILELOADD_EVEX:
-
@@ -268,18 +268,14 @@ void
X86FastPreTileConfig::reload(MachineBasicBlock::iterator UseMI,
}
static unsigned getTileDefNum(MachineRegisterInfo *MRI, Register Reg) {
- if (Reg.isVirtual()) {
-unsigned RegClassID = MRI->getRegClass(Reg)->getID();
-if (RegClassID == X86
@@ -823,28 +674,12 @@ bool X86ExpandPseudo::expandMI(MachineBasicBlock &MBB,
case X86::PTDPBUSDV: Opc = X86::TDPBUSD; break;
case X86::PTDPBUUDV: Opc = X86::TDPBUUD; break;
case X86::PTDPBF16PSV: Opc = X86::TDPBF16PS; break;
-case X86::PTDPFP16PSV: Opc = X86
@@ -7061,8 +7061,15 @@ NamedDecl *Sema::FindInstantiatedDecl(SourceLocation
Loc, NamedDecl *D,
// anonymous unions in class templates).
}
- if (!ParentDependsOnArgs)
+ if (!ParentDependsOnArgs) {
+if (auto Found =
+CurrentInstantiationScope
+
@@ -7061,8 +7061,15 @@ NamedDecl *Sema::FindInstantiatedDecl(SourceLocation
Loc, NamedDecl *D,
// anonymous unions in class templates).
}
- if (!ParentDependsOnArgs)
+ if (!ParentDependsOnArgs) {
+if (auto Found =
+CurrentInstantiationScope
+
https://github.com/ojhunt requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/165098
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/151067
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kees updated https://github.com/llvm/llvm-project/pull/164737
>From 4609f8c24170d3caf5245a140d4ff1c7cabbec5a Mon Sep 17 00:00:00 2001
From: Kees Cook
Date: Wed, 22 Oct 2025 23:56:41 +
Subject: [PATCH 1/4] [Clang][Sema] Allow counted_by on void* in GNU mode
The counted_by
kees wrote:
Given the preference to keep the diagnostic matching the usage, I'll stick with
the originally proposed code changes. I've pushed fixes for the
> Sorry I should've been clearer. What I'm looking for is a Sema test that
> checks that the using a `void* __counted_by(...)` pointer wo
thrimbor wrote:
I rebased the PR and added a ReleaseNote entry for LLD based on the one that
was added for ELF FatLTO. This is the first time I've done that, so if there's
something not quite right with it please let me know.
https://github.com/llvm/llvm-project/pull/165529
___
https://github.com/thrimbor updated
https://github.com/llvm/llvm-project/pull/165529
>From 03f55c06fbee60ab6541a5966dbfcb4d9cee3bb1 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt
Date: Mon, 27 Oct 2025 22:32:33 +0100
Subject: [PATCH 1/2] [clang][llvm] Enable fat-lto-object support for COFF
targ
@@ -642,6 +650,37 @@ struct CallCoroDelete final : public EHScopeStack::Cleanup
{
CGF.Builder.SetInsertPoint(AfterFreeBB);
}
explicit CallCoroDelete(Stmt *DeallocStmt) : Deallocate(DeallocStmt) {}
+
+private:
+ // [dcl.fct.def.coroutine]: The coroutine state is destro
@@ -691,7 +730,7 @@ struct GetReturnObjectManager {
// split its emission in two parts. EmitGroAlloca emits an alloca and sets up
// cleanups. Later when coroutine promise is available we initialize the gro
// and sets the flag that the cleanup is now active.
zsrkmyn wrote:
Correct. There are also c-general.profdata.v{1,3,5} already existing in the
folder :-)
https://github.com/llvm/llvm-project/pull/165358
___
cfe-commits mailing list
[email protected]
https://l
@@ -734,7 +734,7 @@ void FuncPGOInstrumentation::computeCFGHash()
{
FunctionHash = (((uint64_t)JCH.getCRC()) << 28) + JC.getCRC();
// Reserve bit 60-63 for other information purpose.
zsrkmyn wrote:
Thanks! Updated.
https://github.com/llvm/llvm-project/p
https://github.com/zsrkmyn updated
https://github.com/llvm/llvm-project/pull/165358
>From 0fc8d8d02fdf11e2a42b1c8015347ee7ab0a78e0 Mon Sep 17 00:00:00 2001
From: Senran Zhang
Date: Tue, 28 Oct 2025 16:15:07 +0800
Subject: [PATCH 1/4] [InstrProf] Fix frontend generated function hash
The most si
https://github.com/zsrkmyn updated
https://github.com/llvm/llvm-project/pull/165358
>From 0fc8d8d02fdf11e2a42b1c8015347ee7ab0a78e0 Mon Sep 17 00:00:00 2001
From: Senran Zhang
Date: Tue, 28 Oct 2025 16:15:07 +0800
Subject: [PATCH 1/3] [InstrProf] Fix frontend generated function hash
The most si
https://github.com/kees updated https://github.com/llvm/llvm-project/pull/164737
>From 4609f8c24170d3caf5245a140d4ff1c7cabbec5a Mon Sep 17 00:00:00 2001
From: Kees Cook
Date: Wed, 22 Oct 2025 23:56:41 +
Subject: [PATCH 1/3] [Clang][Sema] Allow counted_by on void* in GNU mode
The counted_by
@@ -132,9 +132,20 @@ bool Sema::CheckCountedByAttrOnField(FieldDecl *FD, Expr
*E, bool CountInBytes,
// `BoundsSafetyCheckUseOfCountAttrPtr`
//
// * When the pointee type is always an incomplete type (e.g.
-// `void`) the attribute is disallowed by this method
https://github.com/NewSigma updated
https://github.com/llvm/llvm-project/pull/151067
>From 335a1884354b77afc4b4cdacc88956c55eb0191e Mon Sep 17 00:00:00 2001
From: NewSigma
Date: Thu, 30 Oct 2025 09:15:32 +0800
Subject: [PATCH] Promote point of GRO
---
clang/lib/CodeGen/CGCoroutine.cpp
https://github.com/NewSigma edited
https://github.com/llvm/llvm-project/pull/151067
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/darkbuck updated
https://github.com/llvm/llvm-project/pull/165519
>From bb68180a77353bcd450977a5bb198700fe9c8114 Mon Sep 17 00:00:00 2001
From: Michael Liao
Date: Sat, 18 Oct 2025 19:46:39 -0400
Subject: [PATCH] [CUDA] Add device-side kernel launch support
- CUDA's dynamic p
@@ -132,9 +132,20 @@ bool Sema::CheckCountedByAttrOnField(FieldDecl *FD, Expr
*E, bool CountInBytes,
// `BoundsSafetyCheckUseOfCountAttrPtr`
//
// * When the pointee type is always an incomplete type (e.g.
-// `void`) the attribute is disallowed by this method
https://github.com/thrimbor updated
https://github.com/llvm/llvm-project/pull/165529
>From 62663f76f80aa96f78bc6fd277bd57b51197d4de Mon Sep 17 00:00:00 2001
From: Stefan Schmidt
Date: Mon, 27 Oct 2025 22:32:33 +0100
Subject: [PATCH 1/2] [clang][llvm] Enable fat-lto-object support for COFF
targ
https://github.com/NewSigma edited
https://github.com/llvm/llvm-project/pull/151067
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: mitchell (zeyi2)
Changes
Fix issue in readability-container-data-pointer when the container expression
is a dereference (e.g., `&(*p)[0]`). The previous fix-it suggested
`*p.data()`, which changes semantics because `.` binds tighter
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: mitchell (zeyi2)
Changes
Fix issue in readability-container-data-pointer when the container expression
is a dereference (e.g., `&(*p)[0]`). The previous fix-it suggested
`*p.data()`, which changes semantics because `.` binds t
https://github.com/zeyi2 created
https://github.com/llvm/llvm-project/pull/165636
Fix issue in readability-container-data-pointer when the container expression
is a dereference (e.g., `&(*p)[0]`). The previous fix-it suggested `*p.data()`,
which changes semantics because `.` binds tighter than
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/156401
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Brad Smith
Date: 2025-10-29T20:55:15-04:00
New Revision: 21bcd00e54416b0950da19fe8adb0628a19bf66f
URL:
https://github.com/llvm/llvm-project/commit/21bcd00e54416b0950da19fe8adb0628a19bf66f
DIFF:
https://github.com/llvm/llvm-project/commit/21bcd00e54416b0950da19fe8adb0628a19bf66f.diff
LO
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/165353
>From 283a02452eb7addb8ff2d8953ab70d3e6970e7bc Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Tue, 28 Oct 2025 07:56:25 +0100
Subject: [PATCH 1/2] [clang][SPIR][SPIRV] Don't generate constant NULL from
addrspac
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Richard Smith (zygoloid)
Changes
Unfortunately this adds two more "no"s to cxx_dr_status for 232 and 2823.
---
Patch is 23.42 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/165633.diff
5 File
https://github.com/zygoloid created
https://github.com/llvm/llvm-project/pull/165633
Unfortunately this adds two more "no"s to cxx_dr_status for 232 and 2823.
>From e1017d06119c0cb5a0fa82a39bf74ed698c8366a Mon Sep 17 00:00:00 2001
From: Richard Smith
Date: Thu, 30 Oct 2025 00:35:18 +
Subje
https://github.com/asl locked https://github.com/llvm/llvm-project/pull/160531
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/asl closed https://github.com/llvm/llvm-project/pull/160531
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/boomanaiden154 commented:
The PR title and description need to be updated. It would be good if the branch
gets updated to kick off CI again too.
https://github.com/llvm/llvm-project/pull/165472
___
cfe-commits mailing list
cfe-commi
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/165200
>From 4629547485d5b0c4f0a0e3e2e026222bbb654c7a Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Mon, 27 Oct 2025 05:41:34 +0100
Subject: [PATCH 1/9] [InstCombine] Fold select(X >s 0, 0, -X) | smax(X, 0) to
abs(X)
@@ -2427,6 +2430,32 @@ bool SPIRVInstructionSelector::selectWaveActiveCountBits(
return Result;
}
+bool SPIRVInstructionSelector::selectWaveReduceOr(
+Register ResVReg, const SPIRVType *ResType, MachineInstr &I) const {
+
+ assert(I.getNumOperands() == 3);
+ assert(I.g
@@ -2427,6 +2430,32 @@ bool SPIRVInstructionSelector::selectWaveActiveCountBits(
return Result;
}
+bool SPIRVInstructionSelector::selectWaveReduceOr(
+Register ResVReg, const SPIRVType *ResType, MachineInstr &I) const {
+
+ assert(I.getNumOperands() == 3);
+ assert(I.g
@@ -2427,6 +2430,32 @@ bool SPIRVInstructionSelector::selectWaveActiveCountBits(
return Result;
}
+bool SPIRVInstructionSelector::selectWaveReduceOr(
+Register ResVReg, const SPIRVType *ResType, MachineInstr &I) const {
+
+ assert(I.getNumOperands() == 3);
+ assert(I.g
@@ -3211,6 +3211,29 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
TheCall->setType(ArgTyExpr);
break;
}
+ case Builtin::BI__builtin_hlsl_wave_active_bit_or: {
+if (SemaRef.checkArgCount(TheCall, 1))
+ return true;
+
+
https://github.com/KungFuDonkey updated
https://github.com/llvm/llvm-project/pull/165156
>From 04af5789d6323d2b4bc128909da1e9450ff2e374 Mon Sep 17 00:00:00 2001
From: KungFuDonkey
Date: Sun, 26 Oct 2025 15:13:11 +0100
Subject: [PATCH 1/2] Added WaveActiveBitOr
---
clang/include/clang/Basic/Bu
https://github.com/HazardyKnusperkeks created
https://github.com/llvm/llvm-project/pull/165627
It did compute the length only on the first line, and thus the following lines
could be (and in the test example were) moved over the column limit, when the =
was aligned.
From c03e9748780cd980afaa5
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Björn Schäpers (HazardyKnusperkeks)
Changes
It did compute the length only on the first line, and thus the following lines
could be (and in the test example were) moved over the column limit, when the =
was aligned.
---
Full diff:
@@ -2478,6 +2478,16 @@ extern const internal::VariadicDynCastAllOfMatcher nullStmt;
/// matches '__asm("mov al, 2")'
extern const internal::VariadicDynCastAllOfMatcher asmStmt;
+/// Matches top level asm declarations.
vbvictor wrote:
What is the difference
https://github.com/sskzakaria updated
https://github.com/llvm/llvm-project/pull/165054
>From 00115fd82621a909b6ee8bf049159fd09da3cba1 Mon Sep 17 00:00:00 2001
From: sskzakaria
Date: Fri, 24 Oct 2025 18:01:57 -0400
Subject: [PATCH 1/4] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin -
all
@@ -27,7 +27,7 @@ PreservedAnalyses EmbedBitcodePass::run(Module &M,
ModuleAnalysisManager &AM) {
reportFatalUsageError("Can only embed the module once");
Triple T(M.getTargetTriple());
- if (T.getObjectFormat() != Triple::ELF)
+ if (T.getObjectFormat() != Triple::ELF
https://github.com/thrimbor updated
https://github.com/llvm/llvm-project/pull/165529
>From 1b1fe1e3e40e985f320355c40d6fca63e260be52 Mon Sep 17 00:00:00 2001
From: Stefan Schmidt
Date: Mon, 27 Oct 2025 22:32:33 +0100
Subject: [PATCH 1/2] [clang][llvm] Enable fat-lto-object support for COFF
targ
@@ -54,6 +54,7 @@ bool DirectXTTIImpl::isTargetIntrinsicTriviallyScalarizable(
case Intrinsic::dx_saturate:
case Intrinsic::dx_splitdouble:
case Intrinsic::dx_wave_readlane:
+ case Intrinsic::dx_wave_reduce_or:
KungFuDonkey wrote:
That happens in WaveAc
=?utf-8?q?Björn_Schäpers?= ,
=?utf-8?q?Björn_Schäpers?= ,
=?utf-8?q?Björn_Schäpers?=
Message-ID:
In-Reply-To:
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-x86_64-debian`
running on `lldb-x86_64-debian` while building `clang` at step 6 "test".
Full details are avai
https://github.com/inbelic approved this pull request.
https://github.com/llvm/llvm-project/pull/165584
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks closed
https://github.com/llvm/llvm-project/pull/164310
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,8 @@
+// RUN: not %clang_dxc -enable-16bit-types -T lib_6_7 foo.hlsl -### %s 2>&1 |
FileCheck %s
inbelic wrote:
```suggestion
// RUN: not %clang_dxc -enable-16bit-types -T lib_6_7 %s -### %s 2>&1 |
FileCheck %s
```
https://github.com/llvm/llvm-proje
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/165594
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1319,50 +1320,138 @@ struct AdditionalKeywords {
// Some keywords are not included here because they don't need special
// treatment like `showcancelled` or they should be treated as identifiers
// like `int` and `logic`.
-VerilogExtraKeywords = std::unorder
@@ -4555,6 +4559,26 @@ void UnwrappedLineParser::parseVerilogCaseLabel() {
Line->Level = OrigLevel;
}
+bool UnwrappedLineParser::tryToParseVerilogExtern() {
+ assert(
+ FormatTok->isOneOf(tok::kw_extern, tok::kw_export, Keywords.kw_import));
+ nextToken();
+ // "DPI-
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -std=hlsl2021 -finclude-default-header -triple \
+// RUN: dxil-pc-shadermodel6.3-compute %s -emit-llvm -disable-llvm-passes -o
- | \
+// RUN: FileCheck %s --check-prefixes=CHECK,CHECK-DXIL
+// RUN: %clang_cc1 -std=hlsl2021 -finclude-defaul
Gelbpunkt wrote:
Rebased on main, made no changes to the patch.
https://github.com/llvm/llvm-project/pull/149725
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks edited
https://github.com/llvm/llvm-project/pull/108332
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request.
This last change and we can merge.
https://github.com/llvm/llvm-project/pull/108332
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinf
@@ -533,20 +543,23 @@ TEST(ConfigParseTest, ParsesConfiguration) {
CHECK_PARSE("EnumTrailingComma: Remove", EnumTrailingComma,
FormatStyle::ETC_Remove);
- Style.AlignAfterOpenBracket = FormatStyle::BAS_AlwaysBreak;
- CHECK_PARSE("AlignAfterOpenBracket: Align"
https://github.com/Gelbpunkt updated
https://github.com/llvm/llvm-project/pull/149725
>From d044da8a9d7885694b141a10d7ce96053892beab Mon Sep 17 00:00:00 2001
From: Jens Reidel
Date: Sun, 20 Jul 2025 19:10:13 +0200
Subject: [PATCH] [PowerPC] Take ABI into account for data layout
Prior to this c
@@ -1069,6 +1073,24 @@ def WaveActiveOp : DXILOp<119, waveActiveOp> {
let attributes = [Attributes];
}
+def WaveActiveBit : DXILOp<120, waveActiveBit> {
+ let Doc = "returns the result of the operation across waves";
+ let intrinsics = [
+IntrinSelect, IntrinArgI8,
+
@@ -3211,6 +3211,29 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
TheCall->setType(ArgTyExpr);
break;
}
+ case Builtin::BI__builtin_hlsl_wave_active_bit_or: {
+if (SemaRef.checkArgCount(TheCall, 1))
+ return true;
+
+
@@ -3211,6 +3211,29 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
TheCall->setType(ArgTyExpr);
break;
}
+ case Builtin::BI__builtin_hlsl_wave_active_bit_or: {
+if (SemaRef.checkArgCount(TheCall, 1))
+ return true;
+
+
1 - 100 of 480 matches
Mail list logo