[llvm-branch-commits] [lldb] release/21.x: [lldb][lldb-dap] parse `pathFormat` as an optional (#155238) (PR #171587)

2025-12-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: None (llvmbot) Changes Backport 749537f4878165f5548b499669ec11a61da1903c Requested by: @da-viper --- Full diff: https://github.com/llvm/llvm-project/pull/171587.diff 1 Files Affected: - (modified) lldb/tools/lldb-dap/Protocol/ProtocolRe

[llvm-branch-commits] [lldb] release/21.x: [lldb][lldb-dap] parse `pathFormat` as an optional (#155238) (PR #171587)

2025-12-10 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/171587 Backport 749537f4878165f5548b499669ec11a61da1903c Requested by: @da-viper >From f1e48bf8ba4ee282d89f5fd41669364fe6beb4d4 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike Date: Tue, 26 Aug 2025 15:26:01 +0100 Subject

[llvm-branch-commits] [lldb] release/21.x: [lldb][lldb-dap] parse `pathFormat` as an optional (#155238) (PR #171587)

2025-12-10 Thread via llvm-branch-commits
llvmbot wrote: @ashgti What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/171587 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listin

[llvm-branch-commits] [lldb] release/21.x: [lldb][lldb-dap] parse `pathFormat` as an optional (#155238) (PR #171587)

2025-12-10 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/171587 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [lldb] release/21.x: [lldb][lldb-dap] parse `pathFormat` as an optional (#155238) (PR #171587)

2025-12-10 Thread Ebuka Ezike via llvm-branch-commits
da-viper wrote: Ubuntu 26.04 LTS may ship with 21.x easier to add this fix instead of a client not adding the optional arg. https://github.com/llvm/llvm-project/pull/171587 ___ llvm-branch-commits mailing list [email protected] https

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-10 Thread Yingwei Zheng via llvm-branch-commits
dtcxzyw wrote: > ; CHECK-NEXT: [[CMP1_FROZEN:%.*]] = freeze i1 [[CMP1]] ^ :569:32: note: scanning from here %sext1 = sext i1 %cmp1 to i128 ^ :569:32: note: with "CMP1" equal to "%cmp1" %sext1 = sext i1 %cmp1 to i128 ^ :

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-10 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/171596 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-10 Thread via llvm-branch-commits
llvmbot wrote: @dtcxzyw What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/171596 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listi

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-10 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/171596 Backport 1165e41c876f3beba938805329416647bd21ee5e Requested by: @nikic >From 5a65cdfe3cf984942e6872402e4ac40f003caa6e Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 10 Dec 2025 11:31:07 +0100 Subject:

[llvm-branch-commits] [flang] [flang][OpenACC] remap component references in structured constructs (PR #171501)

2025-12-10 Thread via llvm-branch-commits
https://github.com/jeanPerier updated https://github.com/llvm/llvm-project/pull/171501 >From 9dd6758cb6322eb3224794657e5122c7d689c309 Mon Sep 17 00:00:00 2001 From: Jean Perier Date: Mon, 8 Dec 2025 07:59:43 -0800 Subject: [PATCH 1/2] [flang][OpenACC] remap component references in structured c

[llvm-branch-commits] [flang] [flang][OpenACC] remap component references in structured constructs (PR #171501)

2025-12-10 Thread via llvm-branch-commits
https://github.com/jeanPerier edited https://github.com/llvm/llvm-project/pull/171501 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenACC] remap component references in structured constructs (PR #171501)

2025-12-10 Thread via llvm-branch-commits
@@ -0,0 +1,156 @@ +! Test remapping of component references in data clauses. +! RUN: bbc -fopenacc -emit-hlfir %s -o - | FileCheck %s + +module mhdata_types + type t_scalar + integer :: x + real :: y + end type + type t_array + integer :: x + real :: y(10) +

[llvm-branch-commits] [TableGen] Improve error message for bad VTByHwMode in RegisterByHwMode (PR #171254)

2025-12-10 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/171254 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Add wave reduce intrinsics for double types - 2 (PR #170812)

2025-12-10 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
@@ -5959,7 +6008,9 @@ static MachineBasicBlock *lowerWaveReduce(MachineInstr &MI, break; } case AMDGPU::V_MIN_F64_e64: - case AMDGPU::V_MAX_F64_e64: { + case AMDGPU::V_MAX_F64_e64: + case AMDGPU::V_ADD_F64_e64: jmmartinez wro

[llvm-branch-commits] [llvm] [AMDGPU] Add wave reduce intrinsics for double types - 2 (PR #170812)

2025-12-10 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
@@ -6089,12 +6146,16 @@ SITargetLowering::EmitInstrWithCustomInserter(MachineInstr &MI, return lowerWaveReduce(MI, *BB, *getSubtarget(), AMDGPU::S_ADD_U64_PSEUDO); case AMDGPU::WAVE_REDUCE_FADD_PSEUDO_F32: return lowerWaveReduce(MI, *BB, *getSubtarget(), AMDGPU::V_AD

[llvm-branch-commits] [llvm] [GlobalISel][AArch64] Added support for sli intrinsic (PR #171448)

2025-12-10 Thread Joshua Rodriguez via llvm-branch-commits
@@ -270,6 +270,12 @@ def G_URSHR: AArch64GenericInstruction { let hasSideEffects = 0; } +def G_VSLI: AArch64GenericInstruction { JoshdRod wrote: There's an SRI that isn't supported yet - should I also add a test case to this file? https://github.com/llvm/

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-10 Thread David CARLIER via llvm-branch-commits
https://github.com/devnexen approved this pull request. https://github.com/llvm/llvm-project/pull/171578 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [AMDGPU] Add builtins for wave reduction intrinsics (PR #170813)

2025-12-10 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez approved this pull request. https://github.com/llvm/llvm-project/pull/170813 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-10 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/171578 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-10 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/171578 Backport 62dbe573cf05135875e36fc2a81f5f56c0db5820 Requested by: @brad0 >From 52ed9bc0a5e0f91a5b66f1bca7584c1441db4c3c Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Wed, 10 Dec 2025 03:09:54 -0500 Subject: [P

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-10 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: None (llvmbot) Changes Backport 62dbe573cf05135875e36fc2a81f5f56c0db5820 Requested by: @brad0 --- Full diff: https://github.com/llvm/llvm-project/pull/171578.diff 2 Files Affected: - (modified) compiler-rt/lib/sanitizer

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-10 Thread via llvm-branch-commits
llvmbot wrote: @devnexen What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/171578 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/list

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-10 Thread Yingwei Zheng via llvm-branch-commits
https://github.com/dtcxzyw approved this pull request. https://github.com/llvm/llvm-project/pull/171596 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [GlobalISel][AArch64] Added support for sli intrinsic (PR #171448)

2025-12-10 Thread Joshua Rodriguez via llvm-branch-commits
https://github.com/JoshdRod updated https://github.com/llvm/llvm-project/pull/171448 >From 7854c9af0229e0da243ae75cc08aa3d65c1bdc8c Mon Sep 17 00:00:00 2001 From: Josh Rodriguez Date: Tue, 9 Dec 2025 14:27:56 + Subject: [PATCH 1/5] [GlobalISel][AArch64] Added support for sli intrinsic sli

[llvm-branch-commits] [llvm] [GlobalISel][AArch64] Added support for sli/sri intrinsics (PR #171448)

2025-12-10 Thread Joshua Rodriguez via llvm-branch-commits
https://github.com/JoshdRod edited https://github.com/llvm/llvm-project/pull/171448 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Add wave reduce intrinsics for double types - 2 (PR #170812)

2025-12-10 Thread via llvm-branch-commits
@@ -5959,7 +6008,9 @@ static MachineBasicBlock *lowerWaveReduce(MachineInstr &MI, break; } case AMDGPU::V_MIN_F64_e64: - case AMDGPU::V_MAX_F64_e64: { + case AMDGPU::V_MAX_F64_e64: + case AMDGPU::V_ADD_F64_e64: easyonaadit wr

[llvm-branch-commits] [llvm] [GlobalISel][AArch64] Added support for sli intrinsic (PR #171448)

2025-12-10 Thread David Green via llvm-branch-commits
@@ -270,6 +270,12 @@ def G_URSHR: AArch64GenericInstruction { let hasSideEffects = 0; } +def G_VSLI: AArch64GenericInstruction { davemgreen wrote: It looks like we are missing the tests we need for these. There are tests for clang testing ACLE intrinsics -

[llvm-branch-commits] [clang] [flang] [llvm] [openmp] [Flang] Move builtin .mod generation into runtimes (Reapply #137828) (PR #171515)

2025-12-10 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur edited https://github.com/llvm/llvm-project/pull/171515 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [flang] [llvm] [openmp] [Flang] Move builtin .mod generation into runtimes (Reapply #137828) (PR #171515)

2025-12-10 Thread Michael Kruse via llvm-branch-commits
https://github.com/Meinersbur ready_for_review https://github.com/llvm/llvm-project/pull/171515 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize private members in JSON (PR #171700)

2025-12-10 Thread Petr Hosek via llvm-branch-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/171700 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize "IsStatic" for fields (PR #171698)

2025-12-10 Thread Petr Hosek via llvm-branch-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/171698 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [Mips] Support "$sp" named register (#136821) (PR #171308)

2025-12-10 Thread via llvm-branch-commits
dyung wrote: Sorry, but I do not think this is a good candidate for the final release of the 21.x branch due to it being a fix for a long standing issue which will be available starting in 22.x which will branch in a month. Additionally I note from the original review that this change caused s

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Jan Voung via llvm-branch-commits
https://github.com/jvoung edited https://github.com/llvm/llvm-project/pull/171188 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Jan Voung via llvm-branch-commits
https://github.com/jvoung commented: mostly nits, otherwise nice work! https://github.com/llvm/llvm-project/pull/171188 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -69,6 +70,8 @@ class AbseilModule : public ClangTidyModule { "abseil-time-subtraction"); CheckFactories.registerCheck( "abseil-upgrade-duration-conversions"); +CheckFactories.registerCheck( jvoung wrote: nit: the list might be sorted

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -0,0 +1,377 @@ +.. title:: clang-tidy - abseil-unchecked-statusor-access + +abseil-unchecked-statusor-access + + +This check identifies unsafe accesses to values contained in +``absl::StatusOr`` objects. Below we will refer to this type as +``Sta

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -0,0 +1,138 @@ +// RUN: %check_clang_tidy %s abseil-unchecked-statusor-access %t -- -header-filter='' -- -I %S/Inputs + +#include "absl/status/statusor.h" +void unchecked_value_access(const absl::StatusOr& sor) { + sor.value(); + // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: u

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -0,0 +1,377 @@ +.. title:: clang-tidy - abseil-unchecked-statusor-access + +abseil-unchecked-statusor-access + + +This check identifies unsafe accesses to values contained in +``absl::StatusOr`` objects. Below we will refer to this type as +``Sta

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -0,0 +1,377 @@ +.. title:: clang-tidy - abseil-unchecked-statusor-access + +abseil-unchecked-statusor-access + + +This check identifies unsafe accesses to values contained in +``absl::StatusOr`` objects. Below we will refer to this type as +``Sta

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -0,0 +1,138 @@ +// RUN: %check_clang_tidy %s abseil-unchecked-statusor-access %t -- -header-filter='' -- -I %S/Inputs + +#include "absl/status/statusor.h" +void unchecked_value_access(const absl::StatusOr& sor) { + sor.value(); + // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: u

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for the navbar (PR #171669)

2025-12-10 Thread Petr Hosek via llvm-branch-commits
https://github.com/petrhosek approved this pull request. https://github.com/llvm/llvm-project/pull/171669 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] backport: [RISCV] Sources of vmerge shouldn't overlap V0 (#170070) (PR #170604)

2025-12-10 Thread Luke Lau via llvm-branch-commits
lukel97 wrote: > @lukel97 @wangpc-pp Is the change to RISCVInstrInfoVPseudos.td enough to fix > the bug? Was the RISCVVectorPeephole.cpp part for correctness or to prevent > regressions? The RISCVInstrInfoVPseudos.td changes are enough to fix the bug, RISCVVectorPeephole.cpp is to fix regress

[llvm-branch-commits] [lldb] release/21.x: [lldb][lldb-dap] parse `pathFormat` as an optional (#155238) (PR #171587)

2025-12-10 Thread John Harrison via llvm-branch-commits
https://github.com/ashgti approved this pull request. https://github.com/llvm/llvm-project/pull/171587 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] 8fc9be4 - Revert "[flang][OpenMP] Fix firstprivate not working with lastprivate in DO S…"

2025-12-10 Thread via llvm-branch-commits
Author: Tom Eccles Date: 2025-12-10T16:50:42Z New Revision: 8fc9be460e087b1a786b554744051fe6c4312a26 URL: https://github.com/llvm/llvm-project/commit/8fc9be460e087b1a786b554744051fe6c4312a26 DIFF: https://github.com/llvm/llvm-project/commit/8fc9be460e087b1a786b554744051fe6c4312a26.diff LOG: Re

[llvm-branch-commits] [FlowSensitive] [StatusOr] [15/15] Support references to Status(Or)* (PR #170951)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer edited https://github.com/llvm/llvm-project/pull/170951 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [FlowSensitive] [StatusOr] [15/15] Support references to Status(Or)* (PR #170951)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
@@ -3840,6 +3840,56 @@ TEST_P(UncheckedStatusOrAccessModelTest, NestedStatusOrInStatusOrStruct) { )cc"); } +TEST_P(UncheckedStatusOrAccessModelTest, StatusOrPtrReference) { + ExpectDiagnosticsFor(R"cc( +#include "unchecked_statusor_access_test_defs.h" + +const STAT

[llvm-branch-commits] [FlowSensitive] [StatusOr] [15/15] Support references to Status(Or) ptrs (PR #170951)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer edited https://github.com/llvm/llvm-project/pull/170951 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [SystemZ] Implement ctor/dtor emission via @@SQINIT and .xtor sections (PR #171476)

2025-12-10 Thread Kai Nacke via llvm-branch-commits
@@ -1012,6 +1021,59 @@ void SystemZAsmPrinter::emitMachineConstantPoolValue( OutStreamer->emitValue(Expr, Size); } +// Emit the ctor or dtor list taking into account the init priority. +void SystemZAsmPrinter::emitXXStructorList(const DataLayout &DL, +

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for HTML sections (PR #171668)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/171668 The sections of the existing partials are already identical, so creating a partial will help reduce lines in the templates. Now changes to sections can easily propogate and can easily be added to future HTML pa

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for the navbar (PR #171669)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/171669 Move navbar section to its own template so ensure consistency across templates >From d170dc77d415f6ca50adaf7a3812d1b3a6260352 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 4 Dec 2025 12:33:18 -0800 Subj

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for HTML sections (PR #171668)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.com/github/pr/llvm/llvm-project/171668?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for the navbar (PR #171669)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.com/github/pr/llvm/llvm-project/171669?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for HTML sections (PR #171668)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/171668 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for HTML sections (PR #171668)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: HTML preview: https://erickvelez.com/clang-doc-mustache-output/head-partial/GlobalNamespace/ https://github.com/llvm/llvm-project/pull/171668 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for the navbar (PR #171669)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: HTML preview: https://erickvelez.com/clang-doc-mustache-output/navbar-partial/GlobalNamespace/ https://github.com/llvm/llvm-project/pull/171669 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.o

[llvm-branch-commits] [FlowSensitive] [StatusOr] [13/N] Add support for gtest ASSERTs (PR #170947)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -2173,6 +2173,181 @@ TEST_P(UncheckedStatusOrAccessModelTest, ExpectOkMacro) { )cc"); } +TEST_P(UncheckedStatusOrAccessModelTest, AssertThatMacro) { + ExpectDiagnosticsFor(R"cc( +#include "unchecked_statusor_access_test_defs.h" + +void target(STATUSOR_INT sor) { +

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for the navbar (PR #171669)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/171669 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] f0c008a - Revert "[sanitizer_common][test-only] Specify full path for sort executable i…"

2025-12-10 Thread via llvm-branch-commits
Author: Andrew Haberlandt Date: 2025-12-10T10:28:30-08:00 New Revision: f0c008ab99b2125741685bd4f061fb6ff3cf2c6b URL: https://github.com/llvm/llvm-project/commit/f0c008ab99b2125741685bd4f061fb6ff3cf2c6b DIFF: https://github.com/llvm/llvm-project/commit/f0c008ab99b2125741685bd4f061fb6ff3cf2c6b.d

[llvm-branch-commits] [FlowSensitive] [StatusOr] [13/N] Add support for gtest ASSERTs (PR #170947)

2025-12-10 Thread Jan Voung via llvm-branch-commits
https://github.com/jvoung approved this pull request. Nice! https://github.com/llvm/llvm-project/pull/170947 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [AMDGPU] Enable aliases in InstPrinter (PR #171265)

2025-12-10 Thread Matt Arsenault via llvm-branch-commits
@@ -1120,7 +1120,7 @@ define amdgpu_kernel void @test_umax_ugt_i64(ptr addrspace(1) %out, i64 %a, i64 ; SI-NEXT:s_mov_b32 s4, s0 ; SI-NEXT:v_mov_b32_e32 v0, s8 ; SI-NEXT:v_mov_b32_e32 v1, s9 -; SI-NEXT:v_cmp_gt_u64_e32 vcc, s[2:3], v[0:1] +; SI-NEXT:V_CMP_G

[llvm-branch-commits] [AMDGPU] Enable aliases in InstPrinter (PR #171265)

2025-12-10 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm commented: I don't know anything about instruction aliases. I'm surprised this does anything? https://github.com/llvm/llvm-project/pull/171265 ___ llvm-branch-commits mailing list [email protected] https://li

[llvm-branch-commits] [AMDGPU] Enable aliases in InstPrinter (PR #171265)

2025-12-10 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm edited https://github.com/llvm/llvm-project/pull/171265 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [FlowSensitive] [StatusOr] [14/N] Support nested StatusOrs (PR #170950)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -3691,6 +3691,155 @@ TEST_P(UncheckedStatusOrAccessModelTest, UniquePtrReset) { )cc"); } +TEST_P(UncheckedStatusOrAccessModelTest, NestedStatusOrInStatusOrStruct) { + // Non-standard assignment with a nested StatusOr. + ExpectDiagnosticsFor( + R"cc( +#include

[llvm-branch-commits] [FlowSensitive] [StatusOr] [14/N] Support nested StatusOrs (PR #170950)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -1044,6 +1044,26 @@ transferAssertionResultOperatorBoolCall(const CXXMemberCallExpr *Expr, State.Env.setValue(*Expr, Res); } +static void transferDerefCall(const CallExpr *Expr, + const MatchFinder::MatchResult &, +

[llvm-branch-commits] [FlowSensitive] [StatusOr] [14/N] Support nested StatusOrs (PR #170950)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -3691,6 +3691,155 @@ TEST_P(UncheckedStatusOrAccessModelTest, UniquePtrReset) { )cc"); } +TEST_P(UncheckedStatusOrAccessModelTest, NestedStatusOrInStatusOrStruct) { + // Non-standard assignment with a nested StatusOr. + ExpectDiagnosticsFor( + R"cc( +#include

[llvm-branch-commits] [FlowSensitive] [StatusOr] [14/N] Support nested StatusOrs (PR #170950)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -1130,6 +1150,10 @@ buildTransferMatchSwitch(ASTContext &Ctx, transferValueAssignmentCall) .CaseOfCFGStmt(isStatusOrValueConstructor(), transferValueConstructor) + .CaseOfCFGStmt(isSt

[llvm-branch-commits] [llvm] IR: Stop requiring nsz to reassociate fmul (PR #171726)

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

[llvm-branch-commits] [llvm] IR: Stop requiring nsz to reassociate fmul (PR #171726)

2025-12-10 Thread Andy Kaylor via llvm-branch-commits
https://github.com/andykaylor approved this pull request. This change looks good, but I have a concern about the prior state. https://github.com/llvm/llvm-project/pull/171726 ___ llvm-branch-commits mailing list [email protected] https

[llvm-branch-commits] [llvm] IR: Stop requiring nsz to reassociate fmul (PR #171726)

2025-12-10 Thread Andy Kaylor via llvm-branch-commits
@@ -525,8 +525,7 @@ define <2 x float> @div_constant_dividend2_reassoc_only(<2 x float> %x) { define <2 x float> @div_constant_dividend3(<2 x float> %x) { ; CHECK-LABEL: @div_constant_dividend3( -; CHECK-NEXT:[[TMP1:%.*]] = fmul reassoc arcp <2 x float> [[X:%.*]], -; CH

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer updated https://github.com/llvm/llvm-project/pull/171188 >From 3a7705624359678edaed5c7b9686cae034cb4bfd Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Mon, 8 Dec 2025 13:10:30 -0800 Subject: [PATCH 1/4] change Created using spr 1.3.7 --- .../clang-tidy/abseil/Unc

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer updated https://github.com/llvm/llvm-project/pull/171188 >From 3a7705624359678edaed5c7b9686cae034cb4bfd Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Mon, 8 Dec 2025 13:10:30 -0800 Subject: [PATCH 1/4] change Created using spr 1.3.7 --- .../clang-tidy/abseil/Unc

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer commented: also realised the test had the wrong name, removed the abseil from the file name because it's already in the directory name https://github.com/llvm/llvm-project/pull/171188 ___ llvm-branch-commits mailing list llvm

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
https://github.com/fmayer edited https://github.com/llvm/llvm-project/pull/171188 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-tidy] add abseil-unchecked-statusor-access (PR #171188)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
@@ -0,0 +1,138 @@ +// RUN: %check_clang_tidy %s abseil-unchecked-statusor-access %t -- -header-filter='' -- -I %S/Inputs + +#include "absl/status/statusor.h" +void unchecked_value_access(const absl::StatusOr& sor) { + sor.value(); + // CHECK-MESSAGES: :[[@LINE-1]]:7: warning: u

[llvm-branch-commits] [llvm] backport: [RISCV] Sources of vmerge shouldn't overlap V0 (#170070) (PR #170604)

2025-12-10 Thread via llvm-branch-commits
dyung wrote: Hi @asb, @topperc and @preames, I'm a bit hesitant to take this fix into the release branch because it seems a bit large for what is essentially the last release of the 21.x branch. After this there will be no more releases, so no chances to fix any issues that may arise. The fact

[llvm-branch-commits] [lldb] release/21.x: [lldb][lldb-dap] parse `pathFormat` as an optional (#155238) (PR #171587)

2025-12-10 Thread via llvm-branch-commits
dyung wrote: Thanks for the patch, but as this will be the final 21.x release, we only want to include fixes for regressions, or for small fixes that have broad impacts, neither of which this change seems to meet I'm afraid, so I'm going to defer this fix to the 22.x release. https://github.c

[llvm-branch-commits] [compiler-rt] release/21.x: [compiler-rt][sanitizer] fix i386 build for Haiku (#171075) (PR #171578)

2025-12-10 Thread via llvm-branch-commits
dyung wrote: Hi @brad0 and @devnexen, was this a regression from a previous LLVM version or has this never built successfully? https://github.com/llvm/llvm-project/pull/171578 ___ llvm-branch-commits mailing list [email protected] htt

[llvm-branch-commits] [llvm] backport: [RISCV] Sources of vmerge shouldn't overlap V0 (#170070) (PR #170604)

2025-12-10 Thread Craig Topper via llvm-branch-commits
topperc wrote: > Hi @asb, @topperc and @preames, I'm a bit hesitant to take this fix into the > release branch because it seems a bit large for what is essentially the last > release of the 21.x branch. After this there will be no more releases, so no > chances to fix any issues that may arise

[llvm-branch-commits] [FlowSensitive] [StatusOr] [13/N] Add support for gtest ASSERTs (PR #170947)

2025-12-10 Thread Florian Mayer via llvm-branch-commits
@@ -2173,6 +2173,181 @@ TEST_P(UncheckedStatusOrAccessModelTest, ExpectOkMacro) { )cc"); } +TEST_P(UncheckedStatusOrAccessModelTest, AssertThatMacro) { + ExpectDiagnosticsFor(R"cc( +#include "unchecked_statusor_access_test_defs.h" + +void target(STATUSOR_INT sor) { +

[llvm-branch-commits] [FlowSensitive] [StatusOr] [14/N] Support nested StatusOrs (PR #170950)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -1130,6 +1150,10 @@ buildTransferMatchSwitch(ASTContext &Ctx, transferValueAssignmentCall) .CaseOfCFGStmt(isStatusOrValueConstructor(), transferValueConstructor) + .CaseOfCFGStmt(isSt

[llvm-branch-commits] [FlowSensitive] [StatusOr] [14/N] Support nested StatusOrs (PR #170950)

2025-12-10 Thread Jan Voung via llvm-branch-commits
https://github.com/jvoung edited https://github.com/llvm/llvm-project/pull/170950 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize the global namespace name in JSON (PR #171701)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/171701 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add JSON bools for parents, vparents and test (PR #171699)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/171699 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize private members in JSON (PR #171700)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/171700 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize "IsStatic" for fields (PR #171698)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.com/github/pr/llvm/llvm-project/171698?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add JSON bools for parents, vparents and test (PR #171699)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.com/github/pr/llvm/llvm-project/171699?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize the global namespace name in JSON (PR #171701)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/171701 Previously, the global namespace's "Name" field was left empty. It could be identified this way, but it could also be identified by its USR. Actually populating the "Name" field allows for nicer output in the fut

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize private members in JSON (PR #171700)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.com/github/pr/llvm/llvm-project/171700?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize the global namespace name in JSON (PR #171701)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.com/github/pr/llvm/llvm-project/171701?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize "IsStatic" for fields (PR #171698)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/171698 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize "IsStatic" for fields (PR #171698)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/171698 None >From 602d10e27803fdd140bd52632be2847e3b5fdb79 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 13 Nov 2025 20:23:17 -0800 Subject: [PATCH] [clang-doc] Serialize "IsStatic" for fields --- clang-tool

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize private members in JSON (PR #171700)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/171700 None >From 619542606b3cc6b89b3012d37fcc5fe6eabf2c33 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Sun, 16 Nov 2025 13:38:47 -0800 Subject: [PATCH] [clang-doc] Serialize private members in JSON --- clang-to

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add JSON bools for parents, vparents and test (PR #171699)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/171699 Parents and virtual parents didn't have "Has" bools in JSON output. That made it difficult to only create output conditionally. Also add an explicit test for inheritance and parents, vparents, and bases which ac

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Serialize "IsStatic" for fields (PR #171698)

2025-12-10 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: HTML preview: https://erickvelez.com/clang-doc-mustache-output/pr171698/GlobalNamespace/_ZTV10Calculator.html https://github.com/llvm/llvm-project/pull/171698 ___ llvm-branch-commits mailing list [email protected] https

[llvm-branch-commits] [llvm] [Offload] Debug message update part 3 (PR #171684)

2025-12-10 Thread Hansang Bae via llvm-branch-commits
https://github.com/hansangbae ready_for_review https://github.com/llvm/llvm-project/pull/171684 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/21.x: [SelectOptimize] Fix incorrect -1 immediate for large integers (#170860) (PR #171596)

2025-12-10 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic updated https://github.com/llvm/llvm-project/pull/171596 >From ae451e2f160d43ed21eefd33c3a5f2e784ee4bb4 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 10 Dec 2025 11:31:07 +0100 Subject: [PATCH] [SelectOptimize] Fix incorrect -1 immediate for large integers (#1

[llvm-branch-commits] [FlowSensitive] [StatusOr] [13/N] Add support for gtest ASSERTs (PR #170947)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -2173,6 +2173,181 @@ TEST_P(UncheckedStatusOrAccessModelTest, ExpectOkMacro) { )cc"); } +TEST_P(UncheckedStatusOrAccessModelTest, AssertThatMacro) { + ExpectDiagnosticsFor(R"cc( +#include "unchecked_statusor_access_test_defs.h" + +void target(STATUSOR_INT sor) { +

[llvm-branch-commits] [FlowSensitive] [StatusOr] [13/N] Add support for gtest ASSERTs (PR #170947)

2025-12-10 Thread Jan Voung via llvm-branch-commits
@@ -281,6 +281,76 @@ static auto isNonConstMemberOperatorCall() { return cxxOperatorCallExpr(callee(cxxMethodDecl(unless(isConst(); } +static auto isMakePredicateFormatterFromIsOkMatcherCall() { + using namespace ::clang::ast_matchers; // NOLINT: Too many names + retur

[llvm-branch-commits] [flang] [flang][OpenACC] remap component references in structured constructs (PR #171501)

2025-12-10 Thread Slava Zakharin via llvm-branch-commits
https://github.com/vzakhari approved this pull request. https://github.com/llvm/llvm-project/pull/171501 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Create a partial for the navbar (PR #171669)

2025-12-10 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 edited https://github.com/llvm/llvm-project/pull/171669 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

  1   2   >