[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171900 >From 24e5f13b8af15c4a3615e7444cbb4f5b439964b4 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 9 Dec 2025 09:41:28 -0800 Subject: [PATCH] [clang-doc] Add a "Home" link to navbar This patch removes the old

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171900 >From 24e5f13b8af15c4a3615e7444cbb4f5b439964b4 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 9 Dec 2025 09:41:28 -0800 Subject: [PATCH] [clang-doc] Add a "Home" link to navbar This patch removes the old

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread via llvm-branch-commits
github-actions[bot] wrote: # :window: Windows x64 Test Results * 2986 tests passed * 30 tests skipped * 1 test failed ## Failed Tests (click on a test name to see its output) ### Extra Tools Unit Tests Extra Tools Unit Tests.clang-doc/_/ClangDocTests_exe/JSONGeneratorTest/emitRecordJSON ``

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 3048 tests passed * 7 tests skipped * 1 test failed ## Failed Tests (click on a test name to see its output) ### Extra Tools Unit Tests Extra Tools Unit Tests.clang-doc/_/ClangDocTests/JSONGeneratorTest/emitRecordJSON ``` Scri

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171900 >From d54ed0de5d44799974e153041878c7de6c228dd1 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 9 Dec 2025 09:41:28 -0800 Subject: [PATCH] [clang-doc] Add a "Home" link to navbar This patch removes the old

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171900 >From d54ed0de5d44799974e153041878c7de6c228dd1 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 9 Dec 2025 09:41:28 -0800 Subject: [PATCH] [clang-doc] Add a "Home" link to navbar This patch removes the old

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread Erick Velez via llvm-branch-commits
evelez7 wrote: HTML preview: https://erickvelez.com/clang-doc-mustache-output/pr171900/ https://github.com/llvm/llvm-project/pull/171900 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/list

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Erick Velez (evelez7) Changes This patch removes the old buttons and adds a link to the homepage. --- Full diff: https://github.com/llvm/llvm-project/pull/171900.diff 3 Files Affected: - (modified) clang-tools-extra/clang-do

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 ready_for_review https://github.com/llvm/llvm-project/pull/171900 ___ 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 a "Home" link to navbar (PR #171900)

2025-12-11 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/171900?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [clang-tools-extra] [clang-doc] Add a "Home" link to navbar (PR #171900)

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/171900 This patch removes the old buttons and adds a link to the homepage. >From 00f3570f874d39ab9b76a6212fc42d3989ddc804 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Tue, 9 Dec 2025 09:41:28 -0800 Subject: [PATCH

[llvm-branch-commits] [llvm] VectorCombine: Improve the insert/extract fold in the narrowing case (PR #168820)

2025-12-11 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/168820 From 352f05be1065786f45f00e54707b0ba17e8649c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Wed, 19 Nov 2025 18:00:32 -0800 Subject: [PATCH] VectorCombine: Improve the insert/extract fo

[llvm-branch-commits] [llvm] VectorCombine: Improve the insert/extract fold in the narrowing case (PR #168820)

2025-12-11 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/168820 From 352f05be1065786f45f00e54707b0ba17e8649c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Wed, 19 Nov 2025 18:00:32 -0800 Subject: [PATCH] VectorCombine: Improve the insert/extract fo

[llvm-branch-commits] [llvm] VectorCombine: Improve the insert/extract fold in the narrowing case (PR #168820)

2025-12-11 Thread Nicolai Hähnle via llvm-branch-commits
https://github.com/nhaehnle updated https://github.com/llvm/llvm-project/pull/168820 From 352f05be1065786f45f00e54707b0ba17e8649c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= Date: Wed, 19 Nov 2025 18:00:32 -0800 Subject: [PATCH] VectorCombine: Improve the insert/extract fo

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

2025-12-11 Thread Joshua Rodriguez via llvm-branch-commits
https://github.com/JoshdRod closed 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] [Clang] Load pass plugins before parsing LLVM options (PR #171868)

2025-12-11 Thread Stefan Gränitz via llvm-branch-commits
weliveindetail wrote: Nice! LGTM at first glace > I'm not sure whether using the LLVM Bye.so in the tests is possible this way (e.g., if Clang is built standalone). Testing against examples is fine, but almost never exercised on build bots. We don't expose `LLVM_BUILD_EXAMPLES` as export, so c

[llvm-branch-commits] [Clang] Invoke pass plugin preCodeGenCallback (PR #171872)

2025-12-11 Thread via llvm-branch-commits
github-actions[bot] wrote: # :penguin: Linux x64 Test Results * 81869 tests passed * 1137 tests skipped All tests passed but another part of the build **failed**. Click on a failure below to see the details. tools/clang/tools/extra/modularize/CMakeFiles/modularize.dir/ModularizeUtilities.cp

[llvm-branch-commits] [clang] [llvm] [LLVM] Add plugin hook for back-ends (PR #170846)

2025-12-11 Thread Alexis Engelke via llvm-branch-commits
aengelke wrote: I put up #171872 for the Clang part, which now includes tests and in turn is based on #171868 to make plugins reasonably testable. If there're no further comments or objections on the LLVM part, I'm going to merge this early next week. https://github.com/llvm/llvm-project/pull

[llvm-branch-commits] [Clang] Invoke pass plugin preCodeGenCallback (PR #171872)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Alexis Engelke (aengelke) Changes Single-use AddEmitPasses is inlined into RunCodegenPipeline for clarity in comparing the parameters to the plugin and the parameters passed to addPassesToEmitFile. --- Full diff: https://github.com/llvm/l

[llvm-branch-commits] [Clang] Invoke pass plugin preCodeGenCallback (PR #171872)

2025-12-11 Thread Alexis Engelke via llvm-branch-commits
https://github.com/aengelke created https://github.com/llvm/llvm-project/pull/171872 Single-use AddEmitPasses is inlined into RunCodegenPipeline for clarity in comparing the parameters to the plugin and the parameters passed to addPassesToEmitFile.

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

2025-12-11 Thread David Green via llvm-branch-commits
https://github.com/davemgreen approved this pull request. Thanks - LGTM 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

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread Yingwei Zheng via llvm-branch-commits
@@ -5553,6 +5553,48 @@ void computeKnownFPClass(const Value *V, const APInt &DemandedElts, // TODO: Copy inf handling from instructions break; +case Intrinsic::amdgcn_rsq: { + KnownFPClass KnownSrc; + // The only negative value that can be returned i

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

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

[llvm-branch-commits] [Clang] Load pass plugins before parsing LLVM options (PR #171868)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen @llvm/pr-subscribers-clang Author: Alexis Engelke (aengelke) Changes This permits pass plugins to use llvm::cl::opt. Additionally, add a test of -fpass-plugin, this was previously not tested at all. I'm not sure whether using the LLVM Bye.

[llvm-branch-commits] [Clang] Load pass plugins before parsing LLVM options (PR #171868)

2025-12-11 Thread Alexis Engelke via llvm-branch-commits
https://github.com/aengelke created https://github.com/llvm/llvm-project/pull/171868 This permits pass plugins to use llvm::cl::opt. Additionally, add a test of -fpass-plugin, this was previously not tested at all. I'm not sure whether using the LLVM Bye.so in the tests is possible this way (e.

[llvm-branch-commits] [clang] [llvm] [LLVM] Add plugin hook for back-ends (PR #170846)

2025-12-11 Thread Alexis Engelke via llvm-branch-commits
https://github.com/aengelke edited https://github.com/llvm/llvm-project/pull/170846 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [llvm] [LLVM] Add plugin hook for back-ends (PR #170846)

2025-12-11 Thread Alexis Engelke via llvm-branch-commits
https://github.com/aengelke updated https://github.com/llvm/llvm-project/pull/170846 >From 89e9b4a5863e957971a3febc95862c1d5fe43f28 Mon Sep 17 00:00:00 2001 From: Alexis Engelke Date: Fri, 5 Dec 2025 12:33:55 + Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

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

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

2025-12-11 Thread via llvm-branch-commits
@@ -189,3 +189,69 @@ define void @pointer_cmpxchg_expand6(ptr addrspace(1) %ptr, ptr addrspace(2) %v) ret void } +define <2 x ptr> @atomic_vec2_ptr_align(ptr %x) nounwind { +; CHECK-LABEL: define <2 x ptr> @atomic_vec2_ptr_align( +; CHECK-SAME: ptr [[X:%.*]]) #[[ATTR0:[0-9]

[llvm-branch-commits] [clang] [llvm] [RFC][LLVM][Clang] Add LLVM plugin hook for back-ends (PR #170846)

2025-12-11 Thread Alexis Engelke via llvm-branch-commits
@@ -1265,6 +1259,14 @@ void EmitAssemblyHelper::RunOptimizationPipeline( void EmitAssemblyHelper::RunCodegenPipeline( BackendAction Action, std::unique_ptr &OS, std::unique_ptr &DwoOS) { + // Invoke pre-codegen callback from plugin, which might want to take over the +

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread via llvm-branch-commits
github-actions[bot] wrote: # :window: Windows x64 Test Results * 125587 tests passed * 2775 tests skipped All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details. [code=4294967295] bin/clang-move.exe ``` FAILED: [code=4294967295] bin

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

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171701 >From 28f8a29700af3b98e6c9c6c8c36db9d17009d864 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Sun, 16 Nov 2025 18:28:26 -0800 Subject: [PATCH] fix unittest --- clang-tools-extra/clang-doc/JSONGenerator.cpp

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

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171700 >From 0be4b3662d1b660562cc37d0d155bbc04036576f 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-tools-ex

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

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171699 >From 45d8e8a1662089056d2293c631b617ab22986f60 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Sun, 16 Nov 2025 12:43:44 -0800 Subject: [PATCH] fix unittest --- clang-tools-extra/clang-doc/JSONGenerator.cpp |

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

2025-12-11 Thread Erick Velez via llvm-branch-commits
https://github.com/evelez7 updated https://github.com/llvm/llvm-project/pull/171669 >From 1d32cb2b5eded74705d269fa8140982459ae0e70 Mon Sep 17 00:00:00 2001 From: Erick Velez Date: Thu, 4 Dec 2025 12:33:18 -0800 Subject: [PATCH] [clang-doc] Create a partial for the navbar Move navbar section to

[llvm-branch-commits] [llvm] [WIP][CodeGen][DebugInfo][RISCV] Support scalable offsets in CFI (PR #170607)

2025-12-11 Thread Philip Reames via llvm-branch-commits
https://github.com/preames edited https://github.com/llvm/llvm-project/pull/170607 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [WIP][CodeGen][DebugInfo][RISCV] Support scalable offsets in CFI (PR #170607)

2025-12-11 Thread Philip Reames via llvm-branch-commits
https://github.com/preames commented: I went looking for how we handle scalable offsets in the current vector frame setup and CSR handling, and found appendScalableVectorExpression and createDefCFAExpression in RISCVFrameLowering.cpp. Looking at the diff, I just noticed that there's an NFC bu

[llvm-branch-commits] [flang] [flang][OpenMP] Generalize checks of loop construct structure (PR #170735)

2025-12-11 Thread Tom Eccles via llvm-branch-commits
@@ -262,41 +270,106 @@ static bool IsLoopTransforming(llvm::omp::Directive dir) { } } -void OmpStructureChecker::CheckNestedBlock(const parser::OpenMPLoopConstruct &x, -const parser::Block &body, size_t &nestedCount) { +void OmpStructureChecker::CheckNestedBlock( +

[llvm-branch-commits] [flang] [flang][OpenMP] Generalize checks of loop construct structure (PR #170735)

2025-12-11 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah edited https://github.com/llvm/llvm-project/pull/170735 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenMP] Generalize checks of loop construct structure (PR #170735)

2025-12-11 Thread Tom Eccles via llvm-branch-commits
https://github.com/tblah commented: Overall this looks great. The LoopRange helper was a good idea. Just one comment https://github.com/llvm/llvm-project/pull/170735 ___ llvm-branch-commits mailing list [email protected] https://lists.

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/171837 >From d269be7799a55afd78d9eecbc76055344a94b0b3 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 11 Dec 2025 14:47:59 +0100 Subject: [PATCH] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPCla

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/171837 >From d269be7799a55afd78d9eecbc76055344a94b0b3 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Thu, 11 Dec 2025 14:47:59 +0100 Subject: [PATCH] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPCla

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread Matt Arsenault via llvm-branch-commits
@@ -5553,6 +5553,37 @@ void computeKnownFPClass(const Value *V, const APInt &DemandedElts, // TODO: Copy inf handling from instructions break; +case Intrinsic::amdgcn_rsq: { + KnownFPClass KnownSrc; + // The only negative value that can be returned i

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

2025-12-11 Thread Philip Reames via llvm-branch-commits
preames wrote: > I also want to emphasize that this will be the last 21.x release, so any > problems that arise from this change will NOT be fixed until 22.x. I would lean towards leaving this unfixed in 21.x as 22.x should be released relatively soon, and the risk to the last point release (t

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread Yingwei Zheng via llvm-branch-commits
@@ -5553,6 +5553,37 @@ void computeKnownFPClass(const Value *V, const APInt &DemandedElts, // TODO: Copy inf handling from instructions break; +case Intrinsic::amdgcn_rsq: { + KnownFPClass KnownSrc; + // The only negative value that can be returned i

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread Yingwei Zheng via llvm-branch-commits
@@ -5553,6 +5553,37 @@ void computeKnownFPClass(const Value *V, const APInt &DemandedElts, // TODO: Copy inf handling from instructions break; +case Intrinsic::amdgcn_rsq: { + KnownFPClass KnownSrc; + // The only negative value that can be returned i

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread Yingwei Zheng via llvm-branch-commits
@@ -5553,6 +5553,37 @@ void computeKnownFPClass(const Value *V, const APInt &DemandedElts, // TODO: Copy inf handling from instructions break; +case Intrinsic::amdgcn_rsq: { + KnownFPClass KnownSrc; + // The only negative value that can be returned i

[llvm-branch-commits] [llvm] ValueTracking: Handle amdgcn.rsq intrinsic in computeKnownFPClass (PR #171837)

2025-12-11 Thread Yingwei Zheng via llvm-branch-commits
@@ -5553,6 +5553,37 @@ void computeKnownFPClass(const Value *V, const APInt &DemandedElts, // TODO: Copy inf handling from instructions break; +case Intrinsic::amdgcn_rsq: { + KnownFPClass KnownSrc; + // The only negative value that can be returned i

[llvm-branch-commits] [llvm] [AMDGPU] Add missing cases for V_INDIRECT_REG_{READ/WRITE}_GPR_IDX and V/S_INDIRECT_REG_WRITE_MOVREL (PR #171835)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-globalisel Author: Juan Manuel Martinez Caamaño (jmmartinez) Changes A buildbot failure in https://github.com/llvm/llvm-project/pull/170323 when expensive checks were used highlighted that some of these patterns were missing. This patch adds `V_IND

[llvm-branch-commits] [llvm] [AMDGPU] Add missing cases for V_INDIRECT_REG_{READ/WRITE}_GPR_IDX and V/S_INDIRECT_REG_WRITE_MOVREL (PR #171835)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Juan Manuel Martinez Caamaño (jmmartinez) Changes A buildbot failure in https://github.com/llvm/llvm-project/pull/170323 when expensive checks were used highlighted that some of these patterns were missing. This patch adds `V_INDI

[llvm-branch-commits] [llvm] [AMDGPU] Add missing cases for V_INDIRECT_REG_{READ/WRITE}_GPR_IDX and V/S_INDIRECT_REG_WRITE_MOVREL (PR #171835)

2025-12-11 Thread Juan Manuel Martinez Caamaño via llvm-branch-commits
https://github.com/jmmartinez created https://github.com/llvm/llvm-project/pull/171835 A buildbot failure in https://github.com/llvm/llvm-project/pull/170323 when expensive checks were used highlighted that some of these patterns were missing. This patch adds `V_INDIRECT_REG_{READ/WRITE}_GPR_ID

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

2025-12-11 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-11 Thread Jan Voung via llvm-branch-commits
https://github.com/jvoung approved this pull request. 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] [flang] [mlir] [OpenMP][MLIR] Add thread_limit with dims modifier support (PR #171825)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Chaitanya (skc7) Changes PR adds support of openmp 6.1 feature thread_limit with dims modifier. llvmIR translation for thread_limit with dims modifier is marked as NYI. --- Patch is 21.39 KiB, truncated to 20.00 KiB below, full version: h

[llvm-branch-commits] [flang] [mlir] [OpenMP][MLIR] Add thread_limit with dims modifier support (PR #171825)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-llvm Author: Chaitanya (skc7) Changes PR adds support of openmp 6.1 feature thread_limit with dims modifier. llvmIR translation for thread_limit with dims modifier is marked as NYI. --- Patch is 21.39 KiB, truncated to 20.00 KiB below, full versio

[llvm-branch-commits] [flang] [mlir] [OpenMP][MLIR] Add thread_limit with dims modifier support (PR #171825)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir @llvm/pr-subscribers-flang-openmp Author: Chaitanya (skc7) Changes PR adds support of openmp 6.1 feature thread_limit with dims modifier. llvmIR translation for thread_limit with dims modifier is marked as NYI. --- Patch is 21.39 KiB, t

[llvm-branch-commits] [flang] [mlir] [OpenMP][MLIR] Add thread_limit with dims modifier support (PR #171825)

2025-12-11 Thread via llvm-branch-commits
https://github.com/skc7 ready_for_review https://github.com/llvm/llvm-project/pull/171825 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] SROA: Recognize llvm.protected.field.ptr intrinsics. (PR #151650)

2025-12-11 Thread Nikita Popov via llvm-branch-commits
https://github.com/nikic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/151650 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] SROA: Recognize llvm.protected.field.ptr intrinsics. (PR #151650)

2025-12-11 Thread Nikita Popov via llvm-branch-commits
@@ -5875,6 +5895,32 @@ SROA::runOnAlloca(AllocaInst &AI) { return {Changed, CFGChanged}; } + for (auto &P : AS.partitions()) { +std::optional ProtectedFieldDisc; +// For now, we can't split if a field is accessed both via protected +// field and not. +fo

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add num_threads clause with dims modifier support (PR #171767)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-llvm Author: Chaitanya (skc7) Changes PR adds support of openmp 6.1 feature num_threads with dims modifier. llvmIR translation for num_threads with dims modifier is marked as NYI. --- Full diff: https://github.com/llvm/llvm-project/pull/171767.diff

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add num_threads clause with dims modifier support (PR #171767)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Chaitanya (skc7) Changes PR adds support of openmp 6.1 feature num_threads with dims modifier. llvmIR translation for num_threads with dims modifier is marked as NYI. --- Full diff: https://github.com/llvm/llvm-project/pull/171767.diff 6

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add num_threads clause with dims modifier support (PR #171767)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-openmp Author: Chaitanya (skc7) Changes PR adds support of openmp 6.1 feature num_threads with dims modifier. llvmIR translation for num_threads with dims modifier is marked as NYI. --- Full diff: https://github.com/llvm/llvm-project/pull/171767.di

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add num_threads clause with dims modifier support (PR #171767)

2025-12-11 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-openmp Author: Chaitanya (skc7) Changes PR adds support of openmp 6.1 feature num_threads with dims modifier. llvmIR translation for num_threads with dims modifier is marked as NYI. --- Full diff: https://github.com/llvm/llvm-project/pull/171767.d

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add num_threads clause with dims modifier support (PR #171767)

2025-12-11 Thread via llvm-branch-commits
https://github.com/skc7 ready_for_review https://github.com/llvm/llvm-project/pull/171767 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [mlir] [OpenMP][MLIR] Add thread_limit with dims modifier support (PR #171825)

2025-12-11 Thread via llvm-branch-commits
https://github.com/skc7 updated https://github.com/llvm/llvm-project/pull/171825 >From d02544b205133749563f6222fd0e71c863226d3c Mon Sep 17 00:00:00 2001 From: skc7 Date: Thu, 11 Dec 2025 13:35:05 +0530 Subject: [PATCH 1/2] [OpenMP][MLIR] Add thread_limit with dims modifier support --- .../Opt

[llvm-branch-commits] [flang] [mlir] [OpenMP][MLIR] Add thread_limit with dims modifier support (PR #171825)

2025-12-11 Thread via llvm-branch-commits
https://github.com/skc7 created https://github.com/llvm/llvm-project/pull/171825 PR adds support of openmp 6.1 feature thread_limit with dims modifier. llvmIR translation for thread_limit with dims modifier is marked as NYI. >From d02544b205133749563f6222fd0e71c863226d3c Mon Sep 17 00:00:00 2001

[llvm-branch-commits] [mlir] [OpenMP][MLIR] Add num_threads clause with dims modifier support (PR #171767)

2025-12-11 Thread via llvm-branch-commits
https://github.com/skc7 updated https://github.com/llvm/llvm-project/pull/171767 >From 1c69d29651bb1b73c04cca422454eb7d7c4c Mon Sep 17 00:00:00 2001 From: skc7 Date: Thu, 11 Dec 2025 11:56:58 +0530 Subject: [PATCH 1/3] [OpenMP][MLIR] Add num_threads clause with dims modifier support --- .

[llvm-branch-commits] [llvm] InstCombine: Fold ldexp with constant exponent to fmul (PR #171731)

2025-12-11 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/171731 >From 44aa41c925cb7a4cc2acbaa8c858d44d6c6f3bf8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 23 Aug 2023 20:57:49 -0400 Subject: [PATCH] InstCombine: Fold ldexp with constant exponent to fmul If we ca

[llvm-branch-commits] [llvm] InstCombine: Fold ldexp with constant exponent to fmul (PR #171731)

2025-12-11 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/171731 >From 44aa41c925cb7a4cc2acbaa8c858d44d6c6f3bf8 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Wed, 23 Aug 2023 20:57:49 -0400 Subject: [PATCH] InstCombine: Fold ldexp with constant exponent to fmul If we ca

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

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

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

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

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

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

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

2025-12-11 Thread via llvm-branch-commits
@@ -189,3 +189,69 @@ define void @pointer_cmpxchg_expand6(ptr addrspace(1) %ptr, ptr addrspace(2) %v) ret void } +define <2 x ptr> @atomic_vec2_ptr_align(ptr %x) nounwind { +; CHECK-LABEL: define <2 x ptr> @atomic_vec2_ptr_align( +; CHECK-SAME: ptr [[X:%.*]]) #[[ATTR0:[0-9]

[llvm-branch-commits] [llvm] [AtomicExpand] Add bitcasts when expanding load atomic vector (PR #148900)

2025-12-11 Thread via llvm-branch-commits
https://github.com/jofrn updated https://github.com/llvm/llvm-project/pull/148900 >From a9e62b36fb879b7b0278d299df64e11ba6605041 Mon Sep 17 00:00:00 2001 From: jofrn Date: Tue, 15 Jul 2025 13:03:15 -0400 Subject: [PATCH] [AtomicExpand] Add bitcasts when expanding load atomic vector AtomicExpan

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-11 Thread Prajwal Nadig via llvm-branch-commits
snprajwal wrote: Understandable, thank you! https://github.com/llvm/llvm-project/pull/171522 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-11 Thread via llvm-branch-commits
dyung wrote: > No, this specific code path has always produced incorrect output, even in > past versions of LLVM. I took care to keep the scope of the change as small > as possible to reduce the risk for this backport. Given that it is not fixing a regression and not a fix with a broad impact,

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-11 Thread Prajwal Nadig via llvm-branch-commits
snprajwal wrote: No, this specific code path has always produced incorrect output, even in past versions of LLVM. I took care to keep the scope of the change as small as possible to reduce the risk for this backport. https://github.com/llvm/llvm-project/pull/171522

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

2025-12-11 Thread YunQiang Su via llvm-branch-commits
wzssyqa wrote: This patch has been reverted. https://github.com/llvm/llvm-project/pull/171308 ___ 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-11 Thread YunQiang Su via llvm-branch-commits
https://github.com/wzssyqa closed https://github.com/llvm/llvm-project/pull/171308 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-11 Thread via llvm-branch-commits
dyung wrote: > It's not a regression, it's a bug that surfaced recently. How recently? Was the code above producing the correct result in LLVM 20, 19, 18, etc.? https://github.com/llvm/llvm-project/pull/171522 ___ llvm-branch-commits mailing list llv

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-11 Thread Prajwal Nadig via llvm-branch-commits
snprajwal wrote: It's not a regression, it's a bug that surfaced recently. https://github.com/llvm/llvm-project/pull/171522 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bra

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-11 Thread via llvm-branch-commits
dyung wrote: When was this regression introduced? https://github.com/llvm/llvm-project/pull/171522 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/21.x: [ExtractAPI] Format typedef params correctly (#171516) (PR #171522)

2025-12-11 Thread Prajwal Nadig via llvm-branch-commits
snprajwal wrote: Hi @dyung, this is a small patch, but it fixes a serious correctness issue with the declaration fragments emitted by ExtractAPI. When typedefs are present in method parameters, e.g.: ```c typedef int (^CustomType)(const unsigned int *, unsigned long); void bar(CustomType block

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

2025-12-11 Thread Pengcheng Wang via llvm-branch-commits
wangpc-pp 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