[clang] [Frontend] Remove unused includes (NFC) (PR #142256)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Kazu Hirata (kazutakahirata) Changes These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or com

[clang] [Analysis] Remove unused includes (NFC) (PR #142255)

2025-05-30 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/142255 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Frontend] Remove unused includes (NFC) (PR #142256)

2025-05-30 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/142256 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Tooling] Remove unused includes (NFC) (PR #142257)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-sp

[clang] [Tooling] Remove unused includes (NFC) (PR #142257)

2025-05-30 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142257 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Frontend] Remove unused includes (NFC) (PR #142256)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-sp

[clang] [Frontend] Remove unused includes (NFC) (PR #142256)

2025-05-30 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142256 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [Analysis] Remove unused includes (NFC) (PR #142255)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-sp

[clang] [Analysis] Remove unused includes (NFC) (PR #142255)

2025-05-30 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/142255 These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-spec

[clang] [llvm] [HLSL][RootSignature] Add space, visibility enums to StaticSampler (PR #140306)

2025-05-30 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-bootstrap-asan` running on `sanitizer-buildbot1` while building `clang,llvm` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/52/builds/8747 Here is the re

[clang] [RISCV] Implement intrinsics for XAndesVDot (PR #141441)

2025-05-30 Thread Jim Lin via cfe-commits
https://github.com/tclin914 closed https://github.com/llvm/llvm-project/pull/141441 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [debuginfo][coro] Fix linkage name for clones of coro functions (PR #141889)

2025-05-30 Thread via cfe-commits
dianqk wrote: Sorry... I probably can fix something; however, I am incapable of reviewing about debug info. https://github.com/llvm/llvm-project/pull/141889 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman

[clang] [clang][Sema] Optimize ~SemaDiagnosticBuilder (PR #142252)

2025-05-30 Thread Timm Baeder via cfe-commits
tbaederr wrote: The original code looks like the ordering with the `ImmediateDiag.reset()` call matters, but it doesn't seem like it does. https://github.com/llvm/llvm-project/pull/142252 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https:/

[clang] [clang-format] Handle token-pasted function decl names (PR #142251)

2025-05-30 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/142251 Fix #142178 >From 8c5af1f937d6bdbd92628c41a685ed420604ce0a Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Fri, 30 May 2025 21:48:54 -0700 Subject: [PATCH] [clang-format] Handle token-pasted function decl names F

[clang] [clang][Sema] Optimize ~SemaDiagnosticBuilder (PR #142252)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes Call getDiagnosticLevel(), which is expensive, only if ShowCallStack is set. Small gains: https://llvm-compile-time-tracker.com/compare.php?from=843e362318e884991e517a54446b4faeacdad789&to=5cef0c18466318a4269

[clang] [clang][Sema] Optimize ~SemaDiagnosticBuilder (PR #142252)

2025-05-30 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/142252 Call getDiagnosticLevel(), which is expensive, only if ShowCallStack is set. Small gains: https://llvm-compile-time-tracker.com/compare.php?from=843e362318e884991e517a54446b4faeacdad789&to=5cef0c18466318a426924

[clang] [clang] Rename diag notes that assumed precompiled dependencies are pch's, NFCI (PR #142161)

2025-05-30 Thread Volodymyr Sapsai via cfe-commits
vsapsai wrote: Right now I don't have a strong opinion about the specific terminology. Though it might change as I think about it more. What I do have a strong opinion about is mentioning a specific file. In the first quick pass it looks like we do that already, e.g., "please rebuild precompi

[clang] [clang] Rename diag notes that assumed precompiled dependencies are pch's, NFCI (PR #142161)

2025-05-30 Thread Volodymyr Sapsai via cfe-commits
vsapsai wrote: How natural is it to assume that "precompiled file" is the same-ish as "compiled file" aka "object file"? I'm wary of making users pay attention to such details. "Precompiled header" is an existing term, so I'm fine using it. But it is worth considering what are the differences

[clang] [llvm] [MIPS] Reland Add FeatureMSA to i6400 and i6500 cores (#134985) (PR #141730)

2025-05-30 Thread Brad Smith via cfe-commits
https://github.com/brad0 closed https://github.com/llvm/llvm-project/pull/141730 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 418c1d8 - [MIPS] Reland Add FeatureMSA to i6400 and i6500 cores (#134985) (#141730)

2025-05-30 Thread via cfe-commits
Author: Mallikarjuna Gouda Date: 2025-05-30T22:33:34-04:00 New Revision: 418c1d8a44c4e0188448713a86825a798d460fcb URL: https://github.com/llvm/llvm-project/commit/418c1d8a44c4e0188448713a86825a798d460fcb DIFF: https://github.com/llvm/llvm-project/commit/418c1d8a44c4e0188448713a86825a798d460fcb.

[clang-tools-extra] ed14e0d - [clangd] Log the paths of loaded config files without --log=verbose (#142063)

2025-05-30 Thread via cfe-commits
Author: Nathan Ridge Date: 2025-05-30T22:31:12-04:00 New Revision: ed14e0da77e3ab6f66ea51f07c1ac6bbf06df113 URL: https://github.com/llvm/llvm-project/commit/ed14e0da77e3ab6f66ea51f07c1ac6bbf06df113 DIFF: https://github.com/llvm/llvm-project/commit/ed14e0da77e3ab6f66ea51f07c1ac6bbf06df113.diff

[clang-tools-extra] [clangd] Log the paths of loaded config files without --log=verbose (PR #142063)

2025-05-30 Thread Nathan Ridge via cfe-commits
https://github.com/HighCommander4 closed https://github.com/llvm/llvm-project/pull/142063 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4851886 - [clang-format] Handle bit-field colon of non-numeric-constant size (#142110)

2025-05-30 Thread via cfe-commits
Author: Owen Pan Date: 2025-05-30T18:51:01-07:00 New Revision: 4851886693f3fa8b083f49cc09a32659125b45a4 URL: https://github.com/llvm/llvm-project/commit/4851886693f3fa8b083f49cc09a32659125b45a4 DIFF: https://github.com/llvm/llvm-project/commit/4851886693f3fa8b083f49cc09a32659125b45a4.diff LOG:

[clang] [CIR] Call to variadic functions (PR #141942)

2025-05-30 Thread Sirui Mu via cfe-commits
https://github.com/Lancern closed https://github.com/llvm/llvm-project/pull/141942 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 628a3f0 - [CIR] Call to variadic functions (#141942)

2025-05-30 Thread via cfe-commits
Author: Sirui Mu Date: 2025-05-31T09:59:41+08:00 New Revision: 628a3f0a48fcdf9485a051a4b9d64888b9b21143 URL: https://github.com/llvm/llvm-project/commit/628a3f0a48fcdf9485a051a4b9d64888b9b21143 DIFF: https://github.com/llvm/llvm-project/commit/628a3f0a48fcdf9485a051a4b9d64888b9b21143.diff LOG:

[clang] [clang-format] Handle bit-field colon of non-numeric-constant size (PR #142110)

2025-05-30 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/142110 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 0996bfc - [HLSL][RootSignature] Add space, visibility enums to StaticSampler (#140306)

2025-05-30 Thread via cfe-commits
Author: Finn Plummer Date: 2025-05-30T17:50:47-07:00 New Revision: 0996bfc663e870fb3a7820beccded553f4d5fc37 URL: https://github.com/llvm/llvm-project/commit/0996bfc663e870fb3a7820beccded553f4d5fc37 DIFF: https://github.com/llvm/llvm-project/commit/0996bfc663e870fb3a7820beccded553f4d5fc37.diff

[clang-tools-extra] 278ef84 - Revert "[clangd] [Modules] Fixes to correctly handle module dependencies" (#142162)

2025-05-30 Thread via cfe-commits
Author: fleeting-xx Date: 2025-05-31T09:21:50+08:00 New Revision: 278ef84d2019f8200cf0959a50e1c44819c8bfeb URL: https://github.com/llvm/llvm-project/commit/278ef84d2019f8200cf0959a50e1c44819c8bfeb DIFF: https://github.com/llvm/llvm-project/commit/278ef84d2019f8200cf0959a50e1c44819c8bfeb.diff L

[clang-tools-extra] Revert "[clangd] [Modules] Fixes to correctly handle module dependencies" (PR #142162)

2025-05-30 Thread Younan Zhang via cfe-commits
https://github.com/zyn0217 closed https://github.com/llvm/llvm-project/pull/142162 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [HLSL][RootSignature] Add space, visibility enums to StaticSampler (PR #140306)

2025-05-30 Thread Finn Plummer via cfe-commits
https://github.com/inbelic closed https://github.com/llvm/llvm-project/pull/140306 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Add support for global linkage and visibility (PR #141973)

2025-05-30 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running on `aix-ppc64` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/64/builds/3945 Here is the relevant piece

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-30 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 09959fcdf22c15cbe7edadf6e303d77c8573e607 Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 02:54:22 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang-tools-extra] [clang-doc] Reenable time trace support (PR #141139)

2025-05-30 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/141139 >From feed17a330e088d068fc3a0a2eb127bda102f608 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 21 May 2025 09:50:32 -0700 Subject: [PATCH] [clang-doc] Reenable time trace support This patch re-enables -fti

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-30 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 0aed91ff1efdd69a854d4c7dda6ddfb3ad4e31e2 Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 02:54:22 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] [llvm] [HLSL][RootSignature] Metadata generation of RootFlags, RootConstants, RootDescriptors (PR #142010)

2025-05-30 Thread Finn Plummer via cfe-commits
https://github.com/inbelic closed https://github.com/llvm/llvm-project/pull/142010 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR][NFC] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper edited https://github.com/llvm/llvm-project/pull/14 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 9cdd33d - [HLSL][RootSignature] Metadata generation of RootFlags, RootConstants, RootDescriptors (#142010)

2025-05-30 Thread via cfe-commits
Author: Finn Plummer Date: 2025-05-30T16:52:19-07:00 New Revision: 9cdd33db169d0ba9853f2c9538cb15ec4b506793 URL: https://github.com/llvm/llvm-project/commit/9cdd33db169d0ba9853f2c9538cb15ec4b506793 DIFF: https://github.com/llvm/llvm-project/commit/9cdd33db169d0ba9853f2c9538cb15ec4b506793.diff

[clang] @AmrDeveloper [CIR][NFC]Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper edited https://github.com/llvm/llvm-project/pull/14 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-30 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 3dca561c73e5fec8528ef5cdf2419393d6b49ba9 Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 24 May 2025 02:52:24 +0300 Subject: [PATCH] [Clang] add fix-it hints for unknown attributes --- cl

[clang] [CIR ] Add DLTI dialect support to module attributes (PR #142241)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: None (Andres-Salamanca) Changes This PR adds support for the DLTI dialect by attaching it to the module attributes and introduces a utility function to determine if the target is big-endian, which is required for https://github.com/llv

[clang] [CIR ] Add DLTI dialect support to module attributes (PR #142241)

2025-05-30 Thread via cfe-commits
https://github.com/Andres-Salamanca created https://github.com/llvm/llvm-project/pull/142241 This PR adds support for the DLTI dialect by attaching it to the module attributes and introduces a utility function to determine if the target is big-endian, which is required for https://github.com/

[clang] [CIR] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/14 >From bc6569aa45233cb3e08fa149cb45ca2f8c6d4ad1 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 31 May 2025 01:47:16 +0200 Subject: [PATCH] [CIR][NFC] Upstream VectorType support in helper function -

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-05-30 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk converted_to_draft https://github.com/llvm/llvm-project/pull/141305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread Amr Hesham via cfe-commits
@@ -16,6 +16,7 @@ #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/Types.h" #include "mlir/Interfaces/DataLayoutInterfaces.h" +#include "clang/CIR/Dialect/IR/CIRTypes.h" AmrDeveloper wrote: Yes, I was adding it to the other file, for the test, it was w

[clang] [CIR] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor commented: This looks mostly reasonable to me, but I'd like to have feedback from @xlauko. It looks like it would be NFC though. Are the new tests verifying anything that didn't work before this change? https://github.com/llvm/llvm-project/pull/14 __

[clang] [CIR] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -16,6 +16,7 @@ #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/Types.h" #include "mlir/Interfaces/DataLayoutInterfaces.h" +#include "clang/CIR/Dialect/IR/CIRTypes.h" andykaylor wrote: Isn't this including the current file? https://github.com/llvm/

[clang] [CIR] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor edited https://github.com/llvm/llvm-project/pull/14 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] Reenable time trace support (PR #141139)

2025-05-30 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi updated https://github.com/llvm/llvm-project/pull/141139 >From 80db854474347bcc219a8780fc68458197ba2e92 Mon Sep 17 00:00:00 2001 From: Paul Kirth Date: Wed, 21 May 2025 09:50:32 -0700 Subject: [PATCH] [clang-doc] Reenable time trace support This patch re-enables -fti

[clang] 94dfe87 - [CIR] Enable support for nested struct members in C++ (#142205)

2025-05-30 Thread via cfe-commits
Author: Andy Kaylor Date: 2025-05-30T16:01:12-07:00 New Revision: 94dfe875b01655cf2f1777973906da6ae0d96e7a URL: https://github.com/llvm/llvm-project/commit/94dfe875b01655cf2f1777973906da6ae0d96e7a DIFF: https://github.com/llvm/llvm-project/commit/94dfe875b01655cf2f1777973906da6ae0d96e7a.diff L

[clang] [clang][Sema] Fix and reapply 'Declare builtins used in #pragma intrinsic #138205' (PR #142019)

2025-05-30 Thread Nick Sarnie via cfe-commits
https://github.com/sarnex updated https://github.com/llvm/llvm-project/pull/142019 >From 87004192b6c3bd7b0a4614525ec3f6a1fe4e925e Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Fri, 30 May 2025 08:09:45 -0700 Subject: [PATCH] Reapply "[clang][Sema] Declare builtins used in #pragma intrins

[clang] [clang][Sema] Fix and reapply 'Declare builtins used in #pragma intrinsic #138205' (PR #142019)

2025-05-30 Thread Nick Sarnie via cfe-commits
https://github.com/sarnex updated https://github.com/llvm/llvm-project/pull/142019 >From 168d68391da043f136ed9ea2115d1cda50af7e3b Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Fri, 30 May 2025 08:09:45 -0700 Subject: [PATCH] Reapply "[clang][Sema] Declare builtins used in #pragma intrins

[clang-tools-extra] f1886b1 - [cmake][clang-tools] Make split-file a dependency for tests (#142048)

2025-05-30 Thread via cfe-commits
Author: Paul Kirth Date: 2025-05-30T16:02:43-07:00 New Revision: f1886b1d6d439a2b1adeb6ccdfe157532eed69e1 URL: https://github.com/llvm/llvm-project/commit/f1886b1d6d439a2b1adeb6ccdfe157532eed69e1 DIFF: https://github.com/llvm/llvm-project/commit/f1886b1d6d439a2b1adeb6ccdfe157532eed69e1.diff LO

[clang-tools-extra] [cmake][clang-tools] Make split-file a dependency for tests (PR #142048)

2025-05-30 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi closed https://github.com/llvm/llvm-project/pull/142048 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Enable support for nested struct members in C++ (PR #142205)

2025-05-30 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor closed https://github.com/llvm/llvm-project/pull/142205 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Sema] Add fortify warnings for stpcpy (PR #141646)

2025-05-30 Thread Sharjeel Khan via cfe-commits
https://github.com/Sharjeel-Khan edited https://github.com/llvm/llvm-project/pull/141646 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -14,6 +14,105 @@ namespace clang::CIRGen { +/// Record with information about how a bitfield should be accessed. This is +/// very similar to what LLVM codegen does, once CIR evolves it's possible we +/// can use a more higher level representation. +/// +/// Often we lay o

[clang] [CIR] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Amr Hesham (AmrDeveloper) Changes This change upstream supports VectorType in the helper function and adds a test for the Vector type of FP binary operations Issue https://github.com/llvm/llvm-project/issues/136487 --- Full diff: https

[clang] [CIR] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Amr Hesham (AmrDeveloper) Changes This change upstream supports VectorType in the helper function and adds a test for the Vector type of FP binary operations Issue https://github.com/llvm/llvm-project/issues/136487 --- Full diff: https:/

[clang] [CIR] Upstream VectorType support in helper function (PR #142222)

2025-05-30 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/14 This change upstream supports VectorType in the helper function and adds a test for the Vector type of FP binary operations Issue https://github.com/llvm/llvm-project/issues/136487 >From 706cc1150052e2faf

[clang-tools-extra] [cmake][clang-tools] Make split-file a dependency for tests (PR #142048)

2025-05-30 Thread Petr Hosek via cfe-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/142048 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Modules] Don't fail when an unused textual header is missing. (PR #138227)

2025-05-30 Thread Volodymyr Sapsai via cfe-commits
vsapsai wrote: What about the approach to provide all_textual.pcm to use.cpp and for clang to find foo.h in all_textual.pcm? It doesn't work right now but I'm not sure that it shouldn't (there can be good reasons why it shouldn't work, tbh). https://github.com/llvm/llvm-project/pull/138227 ___

[clang] [CIR] Upstream splat op for VectorType (PR #139827)

2025-05-30 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper updated https://github.com/llvm/llvm-project/pull/139827 >From eb000ef792f14fa0b59dddce1470ff98409dbe0e Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Tue, 13 May 2025 21:35:06 +0200 Subject: [PATCH 1/2] [CIR] Upstream splat op for VectorType --- clang/inclu

[clang] [llvm] [HLSL][RootSignature] Metadata generation of RootFlags, RootConstants, RootDescriptors (PR #142010)

2025-05-30 Thread Justin Bogner via cfe-commits
https://github.com/bogner approved this pull request. https://github.com/llvm/llvm-project/pull/142010 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Fix dso_local and comdat handling for global vars (PR #142214)

2025-05-30 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/142214 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Modules] Don't fail when an unused textual header is missing. (PR #138227)

2025-05-30 Thread Volodymyr Sapsai via cfe-commits
vsapsai wrote: I think I understand the logic behind your approach. * Access between headers is enforced through decl-use, so you cannot access headers from a target that's not your direct dependency. * But some headers shouldn't be accessed outside of a target [regardless of the dependencies],

[clang] [CodeGen] Move CodeGenPGO behind unique_ptr (NFC) (PR #142155)

2025-05-30 Thread Eli Friedman via cfe-commits
https://github.com/efriedma-quic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/142155 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add tags to Mustache namespace template (PR #142045)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Erick Velez (evelez7) Changes namespace-template.mustache only rendered placeholder text. Enum and record tags were added to the template. Now, we can render an index.html for the global namespace and other namespaces. Added

[clang-tools-extra] [clang-doc] add tags to Mustache namespace template (PR #142045)

2025-05-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/142045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-doc] add tags to Mustache namespace template (PR #142045)

2025-05-30 Thread Erick Velez via cfe-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/142045 >From 7d94cff0737804c8d91712e7758439eb0cc07ff3 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 29 May 2025 14:44:29 -0700 Subject: [PATCH 1/4] [clang-doc] add tags to Mustache namespace template namespace

[clang] [CIR] Enable support for nested struct members in C++ (PR #142205)

2025-05-30 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/142205 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [HLSL][RootSignature] Add space, visibility enums to StaticSampler (PR #140306)

2025-05-30 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/140306 >From 88af7ce4ebcc09932c292c8463e3d4eca4c9b839 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Fri, 16 May 2025 20:33:09 + Subject: [PATCH] [HLSL][RootSignature] Add space, visibility enums to StaticSampl

[clang] [llvm] [HLSL][RootSignature] Add space, visibility enums to StaticSampler (PR #140306)

2025-05-30 Thread Finn Plummer via cfe-commits
https://github.com/inbelic edited https://github.com/llvm/llvm-project/pull/140306 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Skip generation of a continue block when flattening TernaryOp (PR #142165)

2025-05-30 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor approved this pull request. lgtm https://github.com/llvm/llvm-project/pull/142165 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] [NFC] Update CHECK pattern to use regex for new def of RV (PR #142218)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clangir Author: None (Andres-Salamanca) Changes Found this minor nit: it was using a previously defined RV. --- Full diff: https://github.com/llvm/llvm-project/pull/142218.diff 1 Files Affected: - (modified) clang/test/CIR/

[clang] [CIR] [NFC] Update CHECK pattern to use regex for new def of RV (PR #142218)

2025-05-30 Thread via cfe-commits
https://github.com/Andres-Salamanca created https://github.com/llvm/llvm-project/pull/142218 Found this minor nit: it was using a previously defined RV. >From 9199b6bf30ac87a38bb89c33126a101212ea4c9e Mon Sep 17 00:00:00 2001 From: Andres Salamanca Date: Fri, 30 May 2025 16:16:12 -0500 Subject:

[clang] [llvm] [HLSL][RootSignature] Metadata generation of RootFlags, RootConstants, RootDescriptors (PR #142010)

2025-05-30 Thread Finn Plummer via cfe-commits
@@ -187,6 +193,46 @@ MDNode *MetadataBuilder::BuildRootSignature() { return MDNode::get(Ctx, GeneratedMetadata); } +MDNode *MetadataBuilder::BuildRootFlags(const RootFlags &Flags) { + IRBuilder<> Builder(Ctx); + return MDNode::get(Ctx, { + MDSt

[clang] [llvm] [HLSL][RootSignature] Metadata generation of RootFlags, RootConstants, RootDescriptors (PR #142010)

2025-05-30 Thread Finn Plummer via cfe-commits
https://github.com/inbelic updated https://github.com/llvm/llvm-project/pull/142010 >From 34733d6f150360984a01b69ac22313f3bdf4b373 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Mon, 26 May 2025 21:51:36 + Subject: [PATCH 1/9] nfc: rename matches --- clang/test/CodeGenHLSL/RootSignatur

[clang-tools-extra] [clang-doc] add tags to Mustache namespace template (PR #142045)

2025-05-30 Thread Paul Kirth via cfe-commits
@@ -0,0 +1,74 @@ +// RUN: rm -rf %t && mkdir -p %t +// RUN: clang-doc --format=mustache --output=%t --executor=standalone %s +// RUN: FileCheck %s < %t/GlobalNamespace/index.html + +enum Color { + RED, + BLUE, + GREEN +}; + +class Foo; + +// CHECK: +// CHECK-NEXT:

[clang] [CIR] Fix dso_local and comdat handling for global vars (PR #142214)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Andy Kaylor (andykaylor) Changes This change adds extra processing of global variable definitions to correctly set the dso_local and comdat attributes. --- Patch is 20.71 KiB, truncated to 20.00 KiB below, full version: https://github

[clang] [CIR] Fix dso_local and comdat handling for global vars (PR #142214)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Andy Kaylor (andykaylor) Changes This change adds extra processing of global variable definitions to correctly set the dso_local and comdat attributes. --- Patch is 20.71 KiB, truncated to 20.00 KiB below, full version: https://github.c

[clang] 459de73 - [CIR] Upstream converting vector types (#142012)

2025-05-30 Thread via cfe-commits
Author: Amr Hesham Date: 2025-05-30T23:14:11+02:00 New Revision: 459de736a0753e12d8a7a557e5b9d7da93ef7a57 URL: https://github.com/llvm/llvm-project/commit/459de736a0753e12d8a7a557e5b9d7da93ef7a57 DIFF: https://github.com/llvm/llvm-project/commit/459de736a0753e12d8a7a557e5b9d7da93ef7a57.diff LO

[clang] [CIR] Upstream converting vector types (PR #142012)

2025-05-30 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper closed https://github.com/llvm/llvm-project/pull/142012 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Fix dso_local and comdat handling for global vars (PR #142214)

2025-05-30 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor created https://github.com/llvm/llvm-project/pull/142214 This change adds extra processing of global variable definitions to correctly set the dso_local and comdat attributes. >From f23b194d46956bd0af34413fa4f4919ea610e643 Mon Sep 17 00:00:00 2001 From: Andy Kaylo

[clang] [clang][Sema] Fix and reapply 'Declare builtins used in #pragma intrinsic #138205' (PR #142019)

2025-05-30 Thread Nick Sarnie via cfe-commits
https://github.com/sarnex edited https://github.com/llvm/llvm-project/pull/142019 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
andykaylor wrote: @bcardosolopes, I have some general concerns about the way that we're representing bitfields and bitfield accesses. It seems fundamentally inconsistent with the way we represent unions. For example: ``` union U { char a; int b; long c; }; ``` becomes `!cir.record -> !c

[clang] [ubsan] Add more -fsanitize-annotate-debug-info checks (PR #141997)

2025-05-30 Thread Thurston Dang via cfe-commits
https://github.com/thurstond converted_to_draft https://github.com/llvm/llvm-project/pull/141997 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Switch misc-confusable-identifiers check to a faster algorithm. (PR #130369)

2025-05-30 Thread Richard Smith via cfe-commits
zygoloid wrote: Ping x8 @PiotrZSL Any chance you'll find time to look at this soon, or should I look for other reviewers? https://github.com/llvm/llvm-project/pull/130369 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/

[clang] clang.llvm.org/get_started.html: remove shallow clone misinformation (PR #142213)

2025-05-30 Thread via cfe-commits
https://github.com/nabijaczleweli edited https://github.com/llvm/llvm-project/pull/142213 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] clang.llvm.org/get_started.html: remove shallow clone misinformation (PR #142213)

2025-05-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: наб (nabijaczleweli) Changes You can absolutely push from a shallow clone, this is just false --- Full diff: https://github.com/llvm/llvm-project/pull/142213.diff 1 Files Affected: - (modified) clang/www/get_started.html (+1-1) `

[clang] clang.llvm.org/get_started.html: remove shallow clone misinformation (PR #142213)

2025-05-30 Thread via cfe-commits
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

[clang] clang.llvm.org/get_started.html: remove shallow clone misinformation (PR #142213)

2025-05-30 Thread via cfe-commits
https://github.com/nabijaczleweli created https://github.com/llvm/llvm-project/pull/142213 You can absolutely push from a shallow clone, this is just false From 0827ae2057b4a05d797587e09f6f198c01abe00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Fri, 30 May 2025 22:50:5

[clang-tools-extra] [clang-doc] add tags to Mustache namespace template (PR #142045)

2025-05-30 Thread Paul Kirth via cfe-commits
https://github.com/ilovepi approved this pull request. LGTM. We may want to tweak the template some more, but we should get the test in place now and follow up if we want to change the aesthetics later. https://github.com/llvm/llvm-project/pull/142045 ___

[clang] Enclose code in nondebug in #ifndef NDEBUG/#endif (PR #142189)

2025-05-30 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `clang` at step 6 "test-openmp". Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/6398 Here is the relevant pie

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -223,21 +272,114 @@ void CIRRecordLowering::fillOutputFields() { fieldTypes.size() - 1; // A field without storage must be a bitfield. assert(!cir::MissingFeatures::bitfields()); + if (!member.data) +setBitFieldInfo(member.fieldDecl, memb

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -223,21 +272,114 @@ void CIRRecordLowering::fillOutputFields() { fieldTypes.size() - 1; // A field without storage must be a bitfield. assert(!cir::MissingFeatures::bitfields()); + if (!member.data) +setBitFieldInfo(member.fieldDecl, memb

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -172,6 +195,32 @@ CIRRecordLowering::CIRRecordLowering(CIRGenTypes &cirGenTypes, zeroInitializable(true), zeroInitializableAsBase(true), packed(packed), padded(false) {} +void CIRRecordLowering::setBitFieldInfo(const FieldDecl *fd, +

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -14,6 +14,105 @@ namespace clang::CIRGen { +/// Record with information about how a bitfield should be accessed. This is +/// very similar to what LLVM codegen does, once CIR evolves it's possible we +/// can use a more higher level representation. +/// +/// Often we lay o

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -0,0 +1,79 @@ +// RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-linux-gnu -fclangir -emit-cir %s -o %t.cir +// RUN: FileCheck --input-file=%t.cir %s --check-prefix=CIR +// RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-linux-gnu -fclangir -emit-llvm %s -o %t-cir.ll +//

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -14,6 +14,105 @@ namespace clang::CIRGen { +/// Record with information about how a bitfield should be accessed. This is +/// very similar to what LLVM codegen does, once CIR evolves it's possible we +/// can use a more higher level representation. +/// +/// Often we lay o

[clang] [CIR] Add initial support for bitfields in structs (PR #142041)

2025-05-30 Thread Andy Kaylor via cfe-commits
@@ -223,21 +272,114 @@ void CIRRecordLowering::fillOutputFields() { fieldTypes.size() - 1; // A field without storage must be a bitfield. assert(!cir::MissingFeatures::bitfields()); + if (!member.data) +setBitFieldInfo(member.fieldDecl, memb

  1   2   3   4   >