[clang] [clang] Add support for consteval null terminated strings (PR #173140)

2025-12-19 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt created https://github.com/llvm/llvm-project/pull/173140 Adds support for null terminated strings produced by constexpr evaluation. This makes it possible to perform analysis of format strings that previously were not possible, and is needed in the future to support _

[clang] [clang] Add FixItHint for designated init order (PR #173136)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mythreya Kuricheti (MythreyaK) Changes Generates `FixItHint` for reordering incorrectly initialized designated initializers. [vid.webm](https://github.com/user-attachments/assets/079ae121-77a8-4ca7-9935-efc7f0a36d19) >From issue clangd/

[clang] [clang] Add FixItHint for designated init order (PR #173136)

2025-12-19 Thread Mythreya Kuricheti via cfe-commits
https://github.com/MythreyaK ready_for_review https://github.com/llvm/llvm-project/pull/173136 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Refactor `InitMapPtr` (PR #172665)

2025-12-19 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-with-thin-lto-ubuntu` running on `as-worker-92` while building `clang` at step 27 "compare-compilers". Full details are available at: https://lab.llvm.org/buildbot/#/builders/127/builds/5825 Here is the relevant piece

[clang] Fix incorrect array initialization with string literal in dependent settings (fixes #112189) (PR #172995)

2025-12-19 Thread via cfe-commits
https://github.com/awson edited https://github.com/llvm/llvm-project/pull/172995 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix incorrect array initialization with string literal in dependent settings (fixes #112189) (PR #172995)

2025-12-19 Thread via cfe-commits
https://github.com/awson edited https://github.com/llvm/llvm-project/pull/172995 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix incorrect array initialization with string literal in dependent settings (fixes #112189) (PR #172995)

2025-12-19 Thread via cfe-commits
https://github.com/awson edited https://github.com/llvm/llvm-project/pull/172995 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix incorrect array initialization with string literal in dependent settings (fixes #112189) (PR #172995)

2025-12-19 Thread via cfe-commits
https://github.com/awson updated https://github.com/llvm/llvm-project/pull/172995 >From f32910e6349b89b81f501f0d4dda1d8e7cb5a280 Mon Sep 17 00:00:00 2001 From: awson Date: Fri, 19 Dec 2025 07:43:21 +0300 Subject: [PATCH] If we ever want to transform (possibly parenthesized) `StringLiteral` exp

[clang] Fix incorrect array initialization with string literal in dependent settings (fixes #112189) (PR #172995)

2025-12-19 Thread via cfe-commits
https://github.com/awson updated https://github.com/llvm/llvm-project/pull/172995 >From 63835fcf92e997506fdfccaac38bb56dac9e147f Mon Sep 17 00:00:00 2001 From: awson Date: Fri, 19 Dec 2025 07:43:21 +0300 Subject: [PATCH] If we ever want to transform (possibly parenthesized) `StringLiteral` exp

[clang] [CIR][X86]Implement handling for convert-half builtins (PR #173137)

2025-12-19 Thread via cfe-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 3058 tests passed * 7 tests skipped All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details. tools/clang/lib/CIR/CodeGen/CMakeFiles/obj.clangCIR.dir/CIRGenBuiltinX86.cpp.

[clang] [clang] Add FixItHint for designated init order (PR #173136)

2025-12-19 Thread Mythreya Kuricheti via cfe-commits
https://github.com/MythreyaK updated https://github.com/llvm/llvm-project/pull/173136 >From 4b5b1dcd3cfd26b0192905f8679ec29967e36f27 Mon Sep 17 00:00:00 2001 From: Mythreya Date: Thu, 18 Dec 2025 23:21:50 -0800 Subject: [PATCH 1/5] [clang] Add FixItHint for designated init order --- clang/lib

[clang] [CIR][X86]Implement handling for convert-half builtins (PR #173137)

2025-12-19 Thread Priyanshu Kumar via cfe-commits
https://github.com/Priyanshu3820 updated https://github.com/llvm/llvm-project/pull/173137 >From bac23a05085c7f56fd0d80200c335a3d3c85f00f Mon Sep 17 00:00:00 2001 From: Priyanshu Kumar <[email protected]> Date: Sat, 20 Dec 2025 06:21:53 + Subject: [PATCH] Implement handling for convert-

[clang] [CIR][X86]Implement handling for convert-half builtins (PR #173137)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Priyanshu Kumar (Priyanshu3820) Changes Related to: #167765 --- Full diff: https://github.com/llvm/llvm-project/pull/173137.diff 2 Files Affected: - (modified) clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp (+31-4) - (added) clang/test/CI

[clang] [CIR][X86]Implement handling for convert-half builtins (PR #173137)

2025-12-19 Thread Priyanshu Kumar via cfe-commits
https://github.com/Priyanshu3820 created https://github.com/llvm/llvm-project/pull/173137 Related to: #167765 >From bac23a05085c7f56fd0d80200c335a3d3c85f00f Mon Sep 17 00:00:00 2001 From: Priyanshu Kumar <[email protected]> Date: Sat, 20 Dec 2025 06:21:53 + Subject: [PATCH] Implement

[clang] [clang] Add FixItHint for designated init order (PR #172959)

2025-12-19 Thread Mythreya Kuricheti via cfe-commits
MythreyaK wrote: Closed in favor of #173136. https://github.com/llvm/llvm-project/pull/172959 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Add FixItHint for designated init order (PR #173136)

2025-12-19 Thread Mythreya Kuricheti via cfe-commits
https://github.com/MythreyaK created https://github.com/llvm/llvm-project/pull/173136 Generates `FixItHint` for reordering incorrectly initialized designated initializers. [vid.webm](https://github.com/user-attachments/assets/079ae121-77a8-4ca7-9935-efc7f0a36d19) >From issue clangd/clangd#96

[clang] [clang] Add FixItHint for designated init order (PR #172959)

2025-12-19 Thread Mythreya Kuricheti via cfe-commits
https://github.com/MythreyaK closed https://github.com/llvm/llvm-project/pull/172959 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][SYCL] Modify err_sycl_entry_point_invalid to use %enum_select. (PR #173122)

2025-12-19 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/173122 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Reapply "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173130)

2025-12-19 Thread Amara Emerson via cfe-commits
aemerson wrote: Please see my (request, not a demand) to hold off on this until NY: https://github.com/llvm/llvm-project/pull/107168#issuecomment-3677379385 https://github.com/llvm/llvm-project/pull/173130 ___ cfe-commits mailing list cfe-commits@list

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-12-19 Thread Amara Emerson via cfe-commits
aemerson wrote: I know we don't have any official policy about this: but I'd like to point out that it's the holiday season for many people. Landing such a big patch that could have some teething problems (which I'm not criticizing, that's normal part of development) today, on a Friday, where

[clang] [CIR] Add 'get element' for array index ops (PR #172897)

2025-12-19 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows` running on `linaro-armv8-windows-msvc-05` while building `clang` at step 6 "test". Full details are available at: https://lab.llvm.org/buildbot/#/builders/141/builds/13862 Here is the relevant piece of

[clang] [CIR] Add 'get element' for array index ops (PR #172897)

2025-12-19 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot1` while building `clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/23959 Here is the relevant piece of the

[clang] a95a303 - [CIR] Add 'get element' for array index ops (#172897)

2025-12-19 Thread via cfe-commits
Author: Erich Keane Date: 2025-12-20T03:39:08Z New Revision: a95a303a54e3bdaec948a8d9e945ff76d2a657a4 URL: https://github.com/llvm/llvm-project/commit/a95a303a54e3bdaec948a8d9e945ff76d2a657a4 DIFF: https://github.com/llvm/llvm-project/commit/a95a303a54e3bdaec948a8d9e945ff76d2a657a4.diff LOG: [

[clang] [CIR] Add 'get element' for array index ops (PR #172897)

2025-12-19 Thread Erich Keane via cfe-commits
https://github.com/erichkeane closed https://github.com/llvm/llvm-project/pull/172897 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC] Add option 'RemoveBracesLLVM' to clang-format config (PR #172755)

2025-12-19 Thread via cfe-commits
https://github.com/zeyi2 approved this pull request. https://github.com/llvm/llvm-project/pull/172755 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Add 'get element' for array index ops (PR #172897)

2025-12-19 Thread Erich Keane via cfe-commits
https://github.com/erichkeane auto_merge_enabled https://github.com/llvm/llvm-project/pull/172897 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Add 'get element' for array index ops (PR #172897)

2025-12-19 Thread Erich Keane via cfe-commits
@@ -1376,45 +1424,52 @@ mlir::LogicalResult CIRToLLVMPtrStrideOpLowering::matchAndRewrite( mlir::IntegerType::Signless); // Zero-extend, sign-extend or trunc the pointer value. mlir::Value index = adaptor.getStride(); - const unsigne

[clang] [CIR] Add 'get element' for array index ops (PR #172897)

2025-12-19 Thread Erich Keane via cfe-commits
https://github.com/erichkeane updated https://github.com/llvm/llvm-project/pull/172897 >From 485d2be6d88705a007b1e2542d003f0614e6aedf Mon Sep 17 00:00:00 2001 From: erichkeane Date: Thu, 18 Dec 2025 08:31:42 -0800 Subject: [PATCH 1/5] [CIR] Add 'get element' for array index ops This is a refac

[clang] [clang-tools-extra] Remove delayed typo expressions (PR #143423)

2025-12-19 Thread Shafik Yaghmour via cfe-commits
https://github.com/shafik edited https://github.com/llvm/llvm-project/pull/143423 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] Remove delayed typo expressions (PR #143423)

2025-12-19 Thread Shafik Yaghmour via cfe-commits
@@ -2896,29 +2882,8 @@ Sema::ActOnIdExpression(Scope *S, CXXScopeSpec &SS, // a template name, but we happen to have always already looked up the name // before we get here if it must be a template name. if (DiagnoseEmptyLookup(S, SS, R, CCC ? *CCC : DefaultValidato

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-12-19 Thread via cfe-commits
yronglin wrote: > It looks like this change has significant compile time impact (+0.5% at > `O0`): > https://llvm-compile-time-tracker.com/compare.php?from=469e5245987b3250a9ca675275d59c7c5d6bbb00&to=d2e62d902438bb5860f2376e818d797bf20daa7d&stat=instructions:u > > Is that expected? I suspect

[clang] Reapply "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173130)

2025-12-19 Thread via cfe-commits
yronglin wrote: @ilovepi Could you help verify whether this branch can resolve this crash issue? Many thanks! https://github.com/llvm/llvm-project/pull/173130 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailm

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-12-19 Thread via cfe-commits
yronglin wrote: > https://lab.llvm.org/buildbot/#/builders/94/builds/13727 Hi thanks for report this, do you know how to reproduce this sanitize build in local? https://github.com/llvm/llvm-project/pull/107168 ___ cfe-commits mailing list cfe-commits

[clang] [clang] Only propagate AtStartOfLine when expanding token stream and hit the end of TokenLexer (PR #173052)

2025-12-19 Thread via cfe-commits
https://github.com/yronglin closed https://github.com/llvm/llvm-project/pull/173052 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Only propagate AtStartOfLine when expanding token stream and hit the end of TokenLexer (PR #173052)

2025-12-19 Thread via cfe-commits
yronglin wrote: > https://lab.llvm.org/buildbot/#/builders/144 The failure and current PR is not the same issue. This PR fixes extra whitespace before token. I think I have found the root cause of the crash. https://github.com/llvm/llvm-project/pull/173052 _

[clang] Reapply "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173130)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (yronglin) Changes This PR reapply https://github.com/llvm/llvm-project/pull/107168. --- Patch is 141.89 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/173130.diff 44 Files Affected: -

[clang] [clang][ssaf][NFC] Remove redundant unit test target (PR #172379)

2025-12-19 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot3` while building `clang` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/18204 Here is the relevant piece

[clang] [CIR][X86] Add support for `intersect` builtins (PR #172554)

2025-12-19 Thread Andy Kaylor via cfe-commits
@@ -1620,12 +1645,68 @@ CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID, const CallExpr *expr) { case X86::BI__builtin_ia32_fpclasspd128_mask: case X86::BI__builtin_ia32_fpclasspd256_mask: case X86::BI__builtin_ia32_fpclasspd512_mask: +cgm.errorNYI(expr->getSou

[clang] [CIR][X86] Add support for `intersect` builtins (PR #172554)

2025-12-19 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor edited https://github.com/llvm/llvm-project/pull/172554 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][ssaf] Add EntityId and EntityIdTable for efficient entity handling (PR #171660)

2025-12-19 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux` running on `systemz-1` while building `clang` at step 6 "test-openmp". Full details are available at: https://lab.llvm.org/buildbot/#/builders/88/builds/19207 Here is the relevant piece of the build log f

[clang] [clang][modules] print mtime of input files when recorded in "module-file-info" (PR #173120)

2025-12-19 Thread Cyndy Ishida via cfe-commits
https://github.com/cyndyishida closed https://github.com/llvm/llvm-project/pull/173120 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 36c27c6 - [clang][modules] print mtime of input files when recorded in "module-file-info" (#173120)

2025-12-19 Thread via cfe-commits
Author: Cyndy Ishida Date: 2025-12-19T16:54:57-08:00 New Revision: 36c27c63afb0b02c9b521e4eb975a789411c999b URL: https://github.com/llvm/llvm-project/commit/36c27c63afb0b02c9b521e4eb975a789411c999b DIFF: https://github.com/llvm/llvm-project/commit/36c27c63afb0b02c9b521e4eb975a789411c999b.diff

[clang] [CIR] Upstream __sync__and_fetch builtins (PR #168347)

2025-12-19 Thread Hendrik Hübner via cfe-commits
https://github.com/HendrikHuebner edited https://github.com/llvm/llvm-project/pull/168347 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream __sync__and_fetch builtins (PR #168347)

2025-12-19 Thread Hendrik Hübner via cfe-commits
https://github.com/HendrikHuebner edited https://github.com/llvm/llvm-project/pull/168347 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream __sync__and_fetch builtins (PR #168347)

2025-12-19 Thread Hendrik Hübner via cfe-commits
https://github.com/HendrikHuebner edited https://github.com/llvm/llvm-project/pull/168347 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream __sync__and_fetch builtins (PR #168347)

2025-12-19 Thread Hendrik Hübner via cfe-commits
@@ -60,6 +61,106 @@ static RValue emitBuiltinBitOp(CIRGenFunction &cgf, const CallExpr *e, return RValue::get(result); } +/// Emit the conversions required to turn the given value into an +/// integer of the given size. +static mlir::Value emitToInt(CIRGenFunction &cgf, mli

[clang] [clang][ssaf] Add EntityId and EntityIdTable for efficient entity handling (PR #171660)

2025-12-19 Thread Jan Korous via cfe-commits
https://github.com/jkorous-apple closed https://github.com/llvm/llvm-project/pull/171660 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 1a4596c - [clang][ssaf] Add EntityId and EntityIdTable for efficient entity handling (#171660)

2025-12-19 Thread via cfe-commits
Author: Jan Korous Date: 2025-12-19T16:49:23-08:00 New Revision: 1a4596c1d7cc0045c1616643b02a56b39f173865 URL: https://github.com/llvm/llvm-project/commit/1a4596c1d7cc0045c1616643b02a56b39f173865 DIFF: https://github.com/llvm/llvm-project/commit/1a4596c1d7cc0045c1616643b02a56b39f173865.diff LO

[clang] [CIR][X86] Add support for `intersect` builtins (PR #172554)

2025-12-19 Thread Andy Kaylor via cfe-commits
@@ -2694,6 +2694,58 @@ def CIR_GetMemberOp : CIR_Op<"get_member"> { let hasVerifier = 1; } +//===--===// +// GetMemberValueOp +//===--===//

[clang] [CIR] Add X86 prefetch builtins (PR #168051)

2025-12-19 Thread Andy Kaylor via cfe-commits
@@ -158,6 +163,33 @@ computeFullLaneShuffleMask(CIRGenFunction &cgf, const mlir::Value vec, outIndices.resize(numElts); } + +static mlir::Value emitPrefetch(CIRGenFunction &cgf, unsigned builtinID, +const CallExpr *e, +

[clang] [CIR] Add X86 prefetch builtins (PR #168051)

2025-12-19 Thread Andy Kaylor via cfe-commits
@@ -158,6 +163,33 @@ computeFullLaneShuffleMask(CIRGenFunction &cgf, const mlir::Value vec, outIndices.resize(numElts); } + +static mlir::Value emitPrefetch(CIRGenFunction &cgf, unsigned builtinID, andykaylor wrote: ```suggestion static void emitPrefetch(C

[clang] [CIR] Add X86 prefetch builtins (PR #168051)

2025-12-19 Thread Andy Kaylor via cfe-commits
@@ -558,6 +590,9 @@ CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID, const CallExpr *expr) { return emitIntrinsicCallOp(builder, getLoc(expr->getExprLoc()), "x86.sse.sfence", voidTy); case X86::BI_mm_prefetch: + case X86::BI_m_prefet

[clang] [clang][ssaf][docs] Document the Summary Extraction pipeline (PR #172876)

2025-12-19 Thread Jan Korous via cfe-commits
https://github.com/jkorous-apple approved this pull request. https://github.com/llvm/llvm-project/pull/172876 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][ssaf][docs] Document the Summary Extraction pipeline (PR #172876)

2025-12-19 Thread Jan Korous via cfe-commits
jkorous-apple wrote: This looks great! The only change I want is to tell the reader that this is rapidly evolving work in progress and that at least initially the documentation will not always be in sync with the code as (just like with this PR) we will use the documentation to supply context

[clang] [llvm] [mlir] [AMDGPU] add clamp immediate operand to WMMA iu8 intrinsic (PR #171069)

2025-12-19 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre updated https://github.com/llvm/llvm-project/pull/171069 >From c9d94c0002cfd640455d59f720aee2c831f69063 Mon Sep 17 00:00:00 2001 From: 0xzre Date: Mon, 8 Dec 2025 07:32:45 +0700 Subject: [PATCH 01/13] [AMDGPU] add clamp immediate operand to WMMA iu8 intrinsic --- cla

[clang] [llvm] [mlir] [AMDGPU] add clamp immediate operand to WMMA iu8 intrinsic (PR #171069)

2025-12-19 Thread Muhammad Abdul via cfe-commits
https://github.com/0xzre updated https://github.com/llvm/llvm-project/pull/171069 >From c9d94c0002cfd640455d59f720aee2c831f69063 Mon Sep 17 00:00:00 2001 From: 0xzre Date: Mon, 8 Dec 2025 07:32:45 +0700 Subject: [PATCH 01/13] [AMDGPU] add clamp immediate operand to WMMA iu8 intrinsic --- cla

[clang] [clang][ssaf][NFC] Remove redundant unit test target (PR #172379)

2025-12-19 Thread Jan Korous via cfe-commits
https://github.com/jkorous-apple closed https://github.com/llvm/llvm-project/pull/172379 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] cae557e - [clang][ssaf][NFC] Remove redundant unit test target (#172379)

2025-12-19 Thread via cfe-commits
Author: Jan Korous Date: 2025-12-19T15:46:35-08:00 New Revision: cae557e59a97dc80384266ad9606fcc463bfb766 URL: https://github.com/llvm/llvm-project/commit/cae557e59a97dc80384266ad9606fcc463bfb766 DIFF: https://github.com/llvm/llvm-project/commit/cae557e59a97dc80384266ad9606fcc463bfb766.diff LO

[clang] [clang][modules] print mtime of input files when recorded in "module-file-info" (PR #173120)

2025-12-19 Thread Jan Svoboda via cfe-commits
@@ -0,0 +1,24 @@ +// Hardcode the mtime for a input file & check that is emitted in pcm during a implicit module invocation. + +// RUN: rm -fr %t +// RUN: split-file %s %t +// RUN: touch -m -a -t 202508011501 %t/BuildDir/A/A.h jansvoboda11 wrote: Are you sure th

[clang] [clang][modules] print mtime of input files when recorded in "module-file-info" (PR #173120)

2025-12-19 Thread Jan Svoboda via cfe-commits
https://github.com/jansvoboda11 approved this pull request. https://github.com/llvm/llvm-project/pull/173120 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][modules] print mtime of input files when recorded in "module-file-info" (PR #173120)

2025-12-19 Thread Jan Svoboda via cfe-commits
@@ -6029,6 +5996,7 @@ bool ASTReader::readASTFileControlBlock( } shouldContinue = Listener.visitInputFileAsRequested( *FilenameAsRequestedBuf, Filename, isSystemFile, Overridden, + StoredTime, /*IsExplicitModule=*/fa

[clang] [CIR] Only emit FP math intrinsics when precision/errno settings allow it (PR #169424)

2025-12-19 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor approved this pull request. lgtm! Thanks for seeing this through! https://github.com/llvm/llvm-project/pull/169424 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe

[clang] [Clang][SYCL] Modify err_sycl_entry_point_invalid to use %enum_select. (PR #173122)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Tom Honermann (tahonermann) Changes The `err_sycl_entry_point_invalid` diagnostic has a selection field for which there are already many options with more expected to be added. Use of `%enum_select` avoids the need for magic numbers with

[clang] [Clang][SYCL] Modify err_sycl_entry_point_invalid to use %enum_select. (PR #173122)

2025-12-19 Thread Tom Honermann via cfe-commits
https://github.com/tahonermann created https://github.com/llvm/llvm-project/pull/173122 The `err_sycl_entry_point_invalid` diagnostic has a selection field for which there are already many options with more expected to be added. Use of `%enum_select` avoids the need for magic numbers with asso

[clang] [clang][modules] print mtime of input files when recorded in "module-file-info" (PR #173120)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Cyndy Ishida (cyndyishida) Changes When debugging issues related to invalidation for implicit module compilations, it can be helpful to consult the PCM to see what the saved mtime was. --- Full diff: https://github.com/llvm/llvm-p

[clang] [clang][modules] print mtime of input files when recorded in "module-file-info" (PR #173120)

2025-12-19 Thread Cyndy Ishida via cfe-commits
https://github.com/cyndyishida created https://github.com/llvm/llvm-project/pull/173120 When debugging issues related to invalidation for implicit module compilations, it can be helpful to consult the PCM to see what the saved mtime was. >From 2335d05289f7413b8aa38e962c5fddcaf7e57752 Mon Sep 1

[clang-tools-extra] [clang-tidy][NFC] Use LLVM's bitmask helpers instead of rolling our own (PR #173116)

2025-12-19 Thread Victor Chernyakin via cfe-commits
https://github.com/localspook closed https://github.com/llvm/llvm-project/pull/173116 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] a6c355e - [clang-tidy][NFC] Use LLVM's bitmask helpers instead of rolling our own (#173116)

2025-12-19 Thread via cfe-commits
Author: Victor Chernyakin Date: 2025-12-19T15:23:27-08:00 New Revision: a6c355e2e6a6f8b3bb137275fd695da16a933c39 URL: https://github.com/llvm/llvm-project/commit/a6c355e2e6a6f8b3bb137275fd695da16a933c39 DIFF: https://github.com/llvm/llvm-project/commit/a6c355e2e6a6f8b3bb137275fd695da16a933c39.d

[clang-tools-extra] [clang-tidy][NFC] Use LLVM's bitmask helpers instead of rolling our own (PR #173116)

2025-12-19 Thread Victor Chernyakin via cfe-commits
localspook wrote: I find it fun to explore the code of our various checks, and whenever I see a spot that could be improved, I open a refactor PR ^_^ https://github.com/llvm/llvm-project/pull/173116 ___ cfe-commits mailing list [email protected].

[clang] Revert "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173118)

2025-12-19 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi closed https://github.com/llvm/llvm-project/pull/173118 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173118)

2025-12-19 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi auto_merge_disabled https://github.com/llvm/llvm-project/pull/173118 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173118)

2025-12-19 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll approved this pull request. https://github.com/llvm/llvm-project/pull/173118 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173118)

2025-12-19 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi auto_merge_enabled https://github.com/llvm/llvm-project/pull/173118 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173118)

2025-12-19 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi edited https://github.com/llvm/llvm-project/pull/173118 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173118)

2025-12-19 Thread via cfe-commits
https://github.com/dyung approved this pull request. Thanks for doing this! https://github.com/llvm/llvm-project/pull/173118 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173118)

2025-12-19 Thread via cfe-commits
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 cpp,cppm,h -- clang/include/clang/Basic/IdentifierTable

[clang] Revert "[C++20][Modules] Implement P1857R3 Modules Dependency Discovery" (PR #173118)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Paul Kirth (ilovepi) Changes Reverts llvm/llvm-project#107168 This patch broke on bots https://lab.llvm.org/buildbot/#/builders/190/builds/33105, and on mac-aarch64 builds. see https://github.com/llvm/llvm-project/pull/107168#iss

[clang-tools-extra] [clang-tidy][NFC] Use LLVM's bitmask helpers instead of rolling our own (PR #173116)

2025-12-19 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor approved this pull request. LGTM How you find these?:) https://github.com/llvm/llvm-project/pull/173116 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC] Use LLVM's bitmask helpers instead of rolling our own (PR #173116)

2025-12-19 Thread via cfe-commits
https://github.com/EugeneZelenko approved this pull request. https://github.com/llvm/llvm-project/pull/173116 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC] Use LLVM's bitmask helpers instead of rolling our own (PR #173116)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Victor Chernyakin (localspook) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/173116.diff 1 Files Affected: - (modified) clang-tools-extra/clang-tidy/readability/FunctionCognitiveComplexityCheck.cpp (+3-

[clang-tools-extra] [clang-tidy][NFC] Use LLVM's bitmask helpers instead of rolling our own (PR #173116)

2025-12-19 Thread Victor Chernyakin via cfe-commits
https://github.com/localspook created https://github.com/llvm/llvm-project/pull/173116 None >From 0e528dbd7ae33617d0cafb2377faf68c94538224 Mon Sep 17 00:00:00 2001 From: Victor Chernyakin Date: Fri, 19 Dec 2025 15:04:35 -0800 Subject: [PATCH] [clang-tidy][NFC] Use LLVM's bitmask helpers instea

[clang-tools-extra] [clang-tidy][NFC] Add option 'RemoveBracesLLVM' to clang-format config (PR #172755)

2025-12-19 Thread Victor Chernyakin via cfe-commits
https://github.com/localspook approved this pull request. https://github.com/llvm/llvm-project/pull/172755 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Fix IO sandbox violations in diagnostic filenames (PR #173107)

2025-12-19 Thread Jan Svoboda via cfe-commits
https://github.com/jansvoboda11 approved this pull request. https://github.com/llvm/llvm-project/pull/173107 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-12-19 Thread Qinkun Bao via cfe-commits
qinkunbao wrote: Hi, +1 to revert this PR. Could you please take a look about the buildbot failures? https://lab.llvm.org/buildbot/#/builders/94/builds/13727 https://lab.llvm.org/buildbot/#/builders/169/builds/18192 https://github.com/llvm/llvm-project/pull/107168

[clang-tools-extra] [clang-tidy][NFC][Docs] Fix typo in bugprone-macro-parentheses (PR #173101)

2025-12-19 Thread via cfe-commits
github-actions[bot] wrote: @Dave-Allured 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

[clang-tools-extra] [clang-tidy][NFC][Docs] Fix typo in bugprone-macro-parentheses (PR #173101)

2025-12-19 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor closed https://github.com/llvm/llvm-project/pull/173101 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 5226a5a - [clang-tidy][NFC][Docs] Fix typo in bugprone-macro-parentheses (#173101)

2025-12-19 Thread via cfe-commits
Author: Dave Allured Date: 2025-12-20T01:38:17+03:00 New Revision: 5226a5aa4c649a1cf178ee186ed0e2a97a741933 URL: https://github.com/llvm/llvm-project/commit/5226a5aa4c649a1cf178ee186ed0e2a97a741933 DIFF: https://github.com/llvm/llvm-project/commit/5226a5aa4c649a1cf178ee186ed0e2a97a741933.diff

[clang-tools-extra] [clang-tidy][NFC][Docs] Fix typo in bugprone-macro-parentheses (PR #173101)

2025-12-19 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor edited https://github.com/llvm/llvm-project/pull/173101 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC][Docs] Fix typo in (PR #173101)

2025-12-19 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor edited https://github.com/llvm/llvm-project/pull/173101 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream __sync__and_fetch builtins (PR #168347)

2025-12-19 Thread Hendrik Hübner via cfe-commits
@@ -117,6 +118,29 @@ std::string CIRGenTypes::getRecordTypeName(const clang::RecordDecl *recordDecl, return builder.getUniqueRecordName(std::string(typeName)); } +mlir::Type CIRGenTypes::convertTypeForLoadStore(QualType qualType, +

[clang-tools-extra] [clang-tidy][NFC] Add option 'RemoveBracesLLVM' to clang-format config (PR #172755)

2025-12-19 Thread via cfe-commits
https://github.com/EugeneZelenko approved this pull request. https://github.com/llvm/llvm-project/pull/172755 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][NFC] Add option 'RemoveBracesLLVM' to clang-format config (PR #172755)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Baranov Victor (vbvictor) Changes We successfully cleared codebase (https://github.com/llvm/llvm-project/pull/172748, https://github.com/llvm/llvm-project/pull/172751, https://github.com/llvm/llvm-project/pull/172752, https:

[clang-tools-extra] [clang-tidy][NFC] Add option 'RemoveBracesLLVM' to clang-format config (PR #172755)

2025-12-19 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Baranov Victor (vbvictor) Changes We successfully cleared codebase (https://github.com/llvm/llvm-project/pull/172748, https://github.com/llvm/llvm-project/pull/172751, https://github.com/llvm/llvm-project/pull/172752, https://githu

[clang-tools-extra] [clang-tidy][NFC] Add option 'RemoveBracesLLVM' to clang-format config (PR #172755)

2025-12-19 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor ready_for_review https://github.com/llvm/llvm-project/pull/172755 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [SYCL] Documentation for Clang driver and core language support. (PR #170602)

2025-12-19 Thread Tom Honermann via cfe-commits
@@ -1,119 +1,542 @@ -= -SYCL Compiler and Runtime architecture design -= + +SYCL Support + .. contents:: :local: Introduction +The `SYCL 2020 spe

[clang] [SYCL] Documentation for Clang driver and core language support. (PR #170602)

2025-12-19 Thread Tom Honermann via cfe-commits
@@ -1,119 +1,542 @@ -= -SYCL Compiler and Runtime architecture design -= + +SYCL Support + .. contents:: :local: Introduction +The `SYCL 2020 spe

[clang] [SYCL] Documentation for Clang driver and core language support. (PR #170602)

2025-12-19 Thread Tom Honermann via cfe-commits
@@ -1,119 +1,542 @@ -= -SYCL Compiler and Runtime architecture design -= + +SYCL Support + .. contents:: :local: Introduction +The `SYCL 2020 spe

[clang] [SYCL] Documentation for Clang driver and core language support. (PR #170602)

2025-12-19 Thread Tom Honermann via cfe-commits
@@ -1,119 +1,542 @@ -= -SYCL Compiler and Runtime architecture design -= + +SYCL Support + .. contents:: :local: Introduction +The `SYCL 2020 spe

[clang] [SYCL] Documentation for Clang driver and core language support. (PR #170602)

2025-12-19 Thread Tom Honermann via cfe-commits
@@ -1,119 +1,542 @@ -= -SYCL Compiler and Runtime architecture design -= + +SYCL Support + .. contents:: :local: Introduction +The `SYCL 2020 spe

[clang] [SYCL] Documentation for Clang driver and core language support. (PR #170602)

2025-12-19 Thread Tom Honermann via cfe-commits
@@ -1,119 +1,542 @@ -= -SYCL Compiler and Runtime architecture design -= + +SYCL Support + .. contents:: :local: Introduction +The `SYCL 2020 spe

  1   2   3   4   5   >