[clang] [llvm] [TySan][Clang] Add clang flag to use tysan outlined instrumentation a… (PR #166170)

2025-11-13 Thread Matthew Nagy via cfe-commits
https://github.com/gbMattN updated https://github.com/llvm/llvm-project/pull/166170 >From 95c5ff34c043680cbf85d7baf3e73ef7680e5854 Mon Sep 17 00:00:00 2001 From: gbMattN Date: Fri, 31 Oct 2025 21:02:34 + Subject: [PATCH 1/4] [TySan][Clang] Add clang flag to use tysan outlined instrumentati

[libunwind] [libunwind] Faster handling of frames with missed FDE records. (PR #167849)

2025-11-13 Thread Vyacheslav Chigrin via cfe-commits
https://github.com/vchigrin updated https://github.com/llvm/llvm-project/pull/167849 >From 0e4eb0f9772d4f272b5e217f768209991c7e21bd Mon Sep 17 00:00:00 2001 From: Vyacheslav Chigrin Date: Thu, 13 Nov 2025 11:49:41 +0300 Subject: [PATCH 1/2] [libunwind] Faster handling of frames with missed FDE

[clang] [Clang] [C++26] Implement P1306R5 Expansion Statements (PR #165195)

2025-11-13 Thread Erich Keane via cfe-commits
@@ -524,6 +525,354 @@ class CoreturnStmt : public Stmt { } }; +/// CXXExpansionStmt - Base class for an unexpanded C++ expansion statement. +class CXXExpansionStmt : public Stmt { + friend class ASTStmtReader; + + ExpansionStmtDecl *ParentDecl; + SourceLocation ForLoc; --

[clang] [clang][x86] Add SSE2/AVX/AVX512VLFP16 constrained sqrt test coverage (PR #167692)

2025-11-13 Thread Phoebe Wang via cfe-commits
phoebewang wrote: > OK to commit? I think we still missing `_mm512_sqrt_ph` and `_mm_sqrt_sh` https://github.com/llvm/llvm-project/pull/167692 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[clang] [llvm] [AArch64][llvm] Add support for Permission Overlay Extension 2 (FEAT_S1POE2) (PR #164912)

2025-11-13 Thread Jonathan Thackray via cfe-commits
@@ -625,6 +625,19 @@ def FeatureF16F32DOT : ExtensionWithMArch<"f16f32dot", "F16F32DOT", "FEAT_F16F32 def FeatureF16F32MM : ExtensionWithMArch<"f16f32mm", "F16F32MM", "FEAT_F16F32MM", "Enable Armv9.7-A Advanced SIMD half-precision matrix multiply-accumulate to single-precis

[clang] [clang][OpenMP] 6.0: 'allocatable' variable-category is not valid for C/C++ (PR #167735)

2025-11-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: David Pagan (ddpagan) Changes The variable-category 'allocatable' is explicitly noted as applying only to Fortran. If specified in C/C++ it should generate an error. NOTE: Issue will be filed against OpenMP 6.0 specification that restrict

[libunwind] [lldb] [libunwind] Fix execution flow imbalance when using C++ Exceptions (PR #165066)

2025-11-13 Thread Med Ismail Bennani via cfe-commits
medismailben wrote: libunwind isn't formatted properly so in my understanding, I don't think we enforce clang-format there. https://github.com/llvm/llvm-project/pull/165066 ___ cfe-commits mailing list [email protected] https://lists.llvm.org

[clang] [Clang] Introduce malloc_span attribute (PR #167010)

2025-11-13 Thread Marco Elver via cfe-commits
https://github.com/melver approved this pull request. https://github.com/llvm/llvm-project/pull/167010 ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] [C++26] Implement P1306R5 Expansion Statements (PR #165195)

2025-11-13 Thread via cfe-commits
@@ -524,6 +525,354 @@ class CoreturnStmt : public Stmt { } }; +/// CXXExpansionStmt - Base class for an unexpanded C++ expansion statement. +class CXXExpansionStmt : public Stmt { + friend class ASTStmtReader; + + ExpansionStmtDecl *ParentDecl; + SourceLocation ForLoc; --

[clang] [Clang][Sema] properly remove qualifiers in __is_pointer_interconvertible_base_of (PR #167881)

2025-11-13 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman commented: Thank you for the fix! The changes should come with a release note in `clang/docs/ReleaseNotes.rst` so users know about the fix. But also, do we need to put it under the potentially breaking changes section because now template specializations may sil

[clang] [llvm] Reland "[DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7)" (PR #165032)

2025-11-13 Thread David Blaikie via cfe-commits
dwblaikie wrote: Could you update the description to include an explanation of why the same uniqued type might end up in two distinct `DISubprogram`s under LTO? I guess/assume/vaguely recall it's probably due to internalizing those functions? (like they're inline functions and in one module on

[clang] [Headers][X86] Allow AVX512 masked arithmetic ss/sd intrinsics to be used in constexpr (PR #162816)

2025-11-13 Thread via cfe-commits
@@ -90,6 +95,11 @@ constexpr bool match_v4su(__m128i _v, unsigned a, unsigned b, unsigned c, unsign return v[0] == a && v[1] == b && v[2] == c && v[3] == d; } +constexpr bool match_v4sf(__m128 _v, float a, float b, float c, float d) { woruyu wrote: Fixed!

[clang-tools-extra] [clang-tidy] Add misc-bool-bitwise-operation check (PR #167552)

2025-11-13 Thread via cfe-commits
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/misc/BoolBitwiseOperationCheck.cpp clang-tools-extra/clan

[libunwind] [libunwind] Ensure zaDisable() is called in jumpto/returnto (NFC) (PR #167674)

2025-11-13 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 hpp -- libunwind/src/Registers.hpp --diff_from_common_c