[llvm-branch-commits] [flang] [flang][OpenMP] `do concurrent` to device mapping lit tests (PR #155992)

2025-09-01 Thread Kareem Ergawy via llvm-branch-commits
ergawy wrote: Ping! Please have a look when you have time. https://github.com/llvm/llvm-project/pull/155992 ___ 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: [LoongArch] Fix broadcast load with extension. (#155960) (PR #156384)

2025-09-01 Thread via llvm-branch-commits
https://github.com/heiher approved this pull request. https://github.com/llvm/llvm-project/pull/156384 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] AMDGPU: Handle true16 disassembly of ds_write_b8/b16 (PR #156406)

2025-09-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/156406 >From 5892af7332272fd0ea0e30652ef9ccc8ab1d0ed7 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 2 Sep 2025 14:43:37 +0900 Subject: [PATCH] AMDGPU: Handle true16 disassembly of ds_write_b8/b16 This avoids

[llvm-branch-commits] [llvm] AMDGPU: Reorder arguments of DS_Real_gfx12 (PR #156405)

2025-09-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm ready_for_review https://github.com/llvm/llvm-project/pull/156405 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] AMDGPU: Handle true16 disassembly of ds_write_b8/b16 (PR #156406)

2025-09-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes This avoids an inconsistency in pseudo definitions I ran into for a later patch. --- Patch is 25.26 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/15640

[llvm-branch-commits] [llvm] AMDGPU: Handle true16 disassembly of ds_write_b8/b16 (PR #156406)

2025-09-01 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/156406 This avoids an inconsistency in pseudo definitions I ran into for a later patch. >From 6ae597b1838f63be4c9e1f6a1d64d707c023116b Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 2 Sep 2025 14:43:37 +0900

[llvm-branch-commits] [llvm] AMDGPU: Reorder arguments of DS_Real_gfx12 (PR #156405)

2025-09-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes This helps shrink the diff in a future change. --- Full diff: https://github.com/llvm/llvm-project/pull/156405.diff 1 Files Affected: - (modified) llvm/lib/Target/AMDGPU/DSInstructions.td (+26-15

[llvm-branch-commits] [llvm] AMDGPU: Reorder arguments of DS_Real_gfx12 (PR #156405)

2025-09-01 Thread Matt Arsenault via llvm-branch-commits
arsenm 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.dev/github/pr/llvm/llvm-project/156405?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [llvm] [Hexagon] Remove post-decoding instruction adjustments (PR #156359)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156359 >From 1f85c67d2f2e1337f08cd36b3e91374dd0fe094f Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:16:14 +0300 Subject: [PATCH] [Hexagon] Remove post-decoding instruction adjustments

[llvm-branch-commits] [llvm] [flang][do concurent] Add saxpy offload tests for OpenMP mapping (PR #155993)

2025-09-01 Thread Kareem Ergawy via llvm-branch-commits
ergawy wrote: Ping! Please have a look when you have time. https://github.com/llvm/llvm-project/pull/155993 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [flang] [flang][OpenMP] Extend `do concurrent` mapping to device (PR #155987)

2025-09-01 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/155987 >From 5438f659186b9761ccb474f4f3e4b1645724b28c Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 29 Aug 2025 02:04:49 -0500 Subject: [PATCH] [flang][OpenMP] Extend `do concurrent` mapping to device Upstreams furt

[llvm-branch-commits] [llvm] AMDGPU: Fix adding m0 uses to gfx94/gfx12 ds atomics (PR #156402)

2025-09-01 Thread Matt Arsenault via llvm-branch-commits
arsenm 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.dev/github/pr/llvm/llvm-project/156402?utm_source=stack-comment-downstack-mergeability-warning";

[llvm-branch-commits] [flang] [flang][OpenMP] `do concurrent` to device mapping lit tests (PR #155992)

2025-09-01 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/155992 >From 77181e62b5b28424f0bbaad96cbc9820c9fadc53 Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 29 Aug 2025 03:53:51 -0500 Subject: [PATCH] [flang][OpenMP] `do concurrent` to device mapping lit tests Adds more l

[llvm-branch-commits] [llvm] [flang][do concurent] Add saxpy offload tests for OpenMP mapping (PR #155993)

2025-09-01 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/155993 >From 2fd20221b5463a0d14c8a8d1d9e7b4816dc31b5f Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 29 Aug 2025 04:04:07 -0500 Subject: [PATCH] [flang][do concurent] Add saxpy offload tests for OpenMP mapping Adds

[llvm-branch-commits] [mlir] [mlir][ptr] Add translations to LLVMIR for ptr ops. (PR #156355)

2025-09-01 Thread Christian Ulmann via llvm-branch-commits
https://github.com/Dinistro commented: Dropped a few nits, but this is already looking very nice. https://github.com/llvm/llvm-project/pull/156355 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/ma

[llvm-branch-commits] [mlir] [mlir][ptr] Add translations to LLVMIR for ptr ops. (PR #156355)

2025-09-01 Thread Christian Ulmann via llvm-branch-commits
@@ -33,21 +219,33 @@ class PtrDialectLLVMIRTranslationInterface LogicalResult convertOperation(Operation *op, llvm::IRBuilderBase &builder, LLVM::ModuleTranslation &moduleTranslation) const final { -// Translation for ptr dialect operations to LLVM IR

[llvm-branch-commits] [mlir] [mlir][ptr] Add translations to LLVMIR for ptr ops. (PR #156355)

2025-09-01 Thread Christian Ulmann via llvm-branch-commits
@@ -16,11 +16,197 @@ #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/Operation.h" #include "mlir/Target/LLVMIR/ModuleTranslation.h" +#include "llvm/ADT/TypeSwitch.h" +#include "llvm/IR/IRBuilder.h" +#include "llvm/IR/Instructions.h" +#include "llvm/IR/Type.h" +#include

[llvm-branch-commits] [llvm] [LoongArch] Split 256-bit build_vector to avoid using LASX element insertion (PR #154918)

2025-09-01 Thread via llvm-branch-commits
https://github.com/zhaoqi5 updated https://github.com/llvm/llvm-project/pull/154918 >From 7178416f1c637d7c2928e3feecafa8a5f607b9e7 Mon Sep 17 00:00:00 2001 From: Qi Zhao Date: Fri, 22 Aug 2025 17:40:01 +0800 Subject: [PATCH 1/6] [LoongArch] Spill 256-bit build_vector to avoid using LASX elemen

[llvm-branch-commits] [llvm] [LoongArch] Split 256-bit build_vector to avoid using LASX element insertion (PR #154918)

2025-09-01 Thread via llvm-branch-commits
@@ -1911,9 +1911,8 @@ lowerVECTOR_SHUFFLE_XVREPLVEI(const SDLoc &DL, ArrayRef Mask, MVT VT, if (fitsRegularPattern(Begin, 1, End - HalfSize, SplatIndex, 0) && fitsRegularPattern(Begin + HalfSize, 1, End, SplatIndex + HalfSize, 0)) { -A

[llvm-branch-commits] [clang-tools-extra] [clangd] Show type hint for simple cases of dependent 'auto' (PR #156284)

2025-09-01 Thread Younan Zhang via llvm-branch-commits
@@ -633,13 +633,30 @@ class InlayHintVisitor : public RecursiveASTVisitor { } if (auto *AT = D->getType()->getContainedAutoType()) { - if (AT->isDeduced() && !D->getType()->isDependentType()) { -// Our current approach is to place the hint on the variable

[llvm-branch-commits] [Remarks] Remove redundant size from StringRefs (NFC) (PR #156357)

2025-09-01 Thread via llvm-branch-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 h -- llvm/include/llvm/Remarks/BitstreamRemarkContainer

[llvm-branch-commits] [llvm] release/21.x: [LoongArch] Fix broadcast load with extension. (#155960) (PR #156384)

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

[llvm-branch-commits] [llvm] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA (PR #156363)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156363 >From 772f6554faddeebb5baa7e59e534939f3864c3f8 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:27:48 +0300 Subject: [PATCH] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA Th

[llvm-branch-commits] [llvm] [LoopPeel] Fix branch weights' effect on block frequencies (PR #128785)

2025-09-01 Thread Joel E. Denny via llvm-branch-commits
https://github.com/jdenny-ornl updated https://github.com/llvm/llvm-project/pull/128785 >From f4135207e955f6c2e358cad54a7ef6f2f18087f8 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Wed, 19 Mar 2025 16:19:40 -0400 Subject: [PATCH 1/9] [LoopPeel] Fix branch weights' effect on block freque

[llvm-branch-commits] [clang-tools-extra] [clangd] Use HeuristicResolver to try to resolve dependent 'auto' (PR #156283)

2025-09-01 Thread Younan Zhang via llvm-branch-commits
https://github.com/zyn0217 approved this pull request. LGTM! https://github.com/llvm/llvm-project/pull/156283 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clangd] Show type hint for simple cases of dependent 'auto' (PR #156284)

2025-09-01 Thread Younan Zhang via llvm-branch-commits
https://github.com/zyn0217 edited https://github.com/llvm/llvm-project/pull/156284 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang-tools-extra] [clangd] Show type hint for simple cases of dependent 'auto' (PR #156284)

2025-09-01 Thread Younan Zhang via llvm-branch-commits
https://github.com/zyn0217 approved this pull request. Thanks https://github.com/llvm/llvm-project/pull/156284 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [RISCV] Remove post-decoding instruction adjustments (PR #156360)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156360 >From aa16f8a66ce80150ba0ea56ff1af1ef698efd56b Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:18:06 +0300 Subject: [PATCH] [RISCV] Remove post-decoding instruction adjustments --

[llvm-branch-commits] [llvm] [AArch64] Remove post-decoding instruction mutations (PR #156364)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156364 >From b60b806cae55aa12437ff99ad2b1f6c3d3c8da34 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:30:01 +0300 Subject: [PATCH] [AArch64] Remove post-decoding instruction mutations Th

[llvm-branch-commits] [llvm] [Hexagon] Remove post-decoding instruction adjustments (PR #156359)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156359 >From 00683736b4d90916052d2a0635c2e753cc3768e3 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:16:14 +0300 Subject: [PATCH] [Hexagon] Remove post-decoding instruction adjustments

[llvm-branch-commits] [clang] [llvm] [HLSL][DirectX] Add support for `rootsig` as a target environment (PR #156373)

2025-09-01 Thread Finn Plummer via llvm-branch-commits
@@ -1472,5 +1473,38 @@ IdentifierInfo *ParseHLSLRootSignature(Sema &Actions, return DeclIdent; } +void HandleRootSignatureTarget(Sema &S, StringRef EntryRootSig) { + ASTConsumer *Consumer = &S.getASTConsumer(); + + // Minimally initalize the parser. This does a couple thin

[llvm-branch-commits] [mlir] [mlir][ptr] Extend `ptr_add` operation to support shaped operands (PR #156374)

2025-09-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir-llvm Author: Fabian Mora (fabianmcg) Changes This patch extends `ptr_add` to work with shaped types with value semantics, both for the offsets and base. Concretely this patch makes the following changes: - Supports scalar-to-scalar, scalar-to-shap

[llvm-branch-commits] [mlir] [mlir][ptr] Extend `ptr_add` operation to support shaped operands (PR #156374)

2025-09-01 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-mlir Author: Fabian Mora (fabianmcg) Changes This patch extends `ptr_add` to work with shaped types with value semantics, both for the offsets and base. Concretely this patch makes the following changes: - Supports scalar-to-scalar, scalar-to-shaped, s

[llvm-branch-commits] [llvm] [AVR] Remove workarounds for instructions using Z register (PR #156361)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156361 >From b1cd999acbb29fc53f9eb33284a3e5d2bc72bb11 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:18:57 +0300 Subject: [PATCH] [AVR] Remove workarounds for instructions using Z regist

[llvm-branch-commits] [llvm] [RISCV] Remove post-decoding instruction adjustments (PR #156360)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156360 >From aa16f8a66ce80150ba0ea56ff1af1ef698efd56b Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:18:06 +0300 Subject: [PATCH] [RISCV] Remove post-decoding instruction adjustments --

[llvm-branch-commits] [llvm] [AArch64] Remove post-decoding instruction mutations (PR #156364)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156364 >From ec3ee1ee89dfde1ec2db0174a6ee2010029a830e Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:30:01 +0300 Subject: [PATCH] [AArch64] Remove post-decoding instruction mutations Th

[llvm-branch-commits] [llvm] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA (PR #156363)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156363 >From d72f7138ebf8fd6fad138cf835083ce6edc7852e Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:27:48 +0300 Subject: [PATCH] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA Th

[llvm-branch-commits] [libc] cdcdc8c - Revert "[libc] Migrate from baremetal stdio.h to generic stdio.h (#152748)"

2025-09-01 Thread via llvm-branch-commits
Author: William Huynh Date: 2025-09-01T21:39:50+01:00 New Revision: cdcdc8cccf7e7410916ff251b1ee8981b5c9a792 URL: https://github.com/llvm/llvm-project/commit/cdcdc8cccf7e7410916ff251b1ee8981b5c9a792 DIFF: https://github.com/llvm/llvm-project/commit/cdcdc8cccf7e7410916ff251b1ee8981b5c9a792.diff

[llvm-branch-commits] [llvm] [Hexagon] Remove post-decoding instruction adjustments (PR #156359)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
s-barannikov 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.dev/github/pr/llvm/llvm-project/156359?utm_source=stack-comment-downstack-mergeability-warn

[llvm-branch-commits] [llvm] [AVR] Remove workarounds for instructions using Z register (PR #156361)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156361 >From 235b15d6a19c5810cdbbb2d111b5f614a86082a0 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:18:57 +0300 Subject: [PATCH] [AVR] Remove workarounds for instructions using Z regist

[llvm-branch-commits] [mlir] [mlir][ptr] Add `gather`, `masked_load`, `masked_store`, and `scatter` ops (PR #156368)

2025-09-01 Thread Fabian Mora via llvm-branch-commits
https://github.com/fabianmcg updated https://github.com/llvm/llvm-project/pull/156368 >From 1898a4301ca6f9ecd2d125217e28cce2abd20e52 Mon Sep 17 00:00:00 2001 From: Fabian Mora <[email protected]> Date: Sun, 31 Aug 2025 12:01:19 + Subject: [PATCH 1/2] Add load, store

[llvm-branch-commits] [mlir] [mlir][ptr] Add `gather`, `masked_load`, `masked_store`, and `scatter` ops (PR #156368)

2025-09-01 Thread Fabian Mora via llvm-branch-commits
https://github.com/fabianmcg created https://github.com/llvm/llvm-project/pull/156368 This patch adds the `gather`, `masked_load`, `masked_store`, and `scatter` operations to the `ptr` dialect. It also implements translation from these operations to LLVM intrinsics: - ptr.gather -> llvm.masked

[llvm-branch-commits] [llvm] [AArch64] Remove post-decoding instruction mutations (PR #156364)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156364 >From 2237e5a7ed147c1a1f279d1549c6e56c24a55d7e Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:30:01 +0300 Subject: [PATCH] [AArch64] Remove post-decoding instruction mutations Th

[llvm-branch-commits] [llvm] [Hexagon] Remove post-decoding instruction adjustments (PR #156359)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156359 >From 1f85c67d2f2e1337f08cd36b3e91374dd0fe094f Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:16:14 +0300 Subject: [PATCH] [Hexagon] Remove post-decoding instruction adjustments

[llvm-branch-commits] [llvm] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA (PR #156363)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156363 >From 261f86f49e1757ab4f546c65b2e1a14b21f63b70 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:27:48 +0300 Subject: [PATCH] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA Th

[llvm-branch-commits] [llvm] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA (PR #156363)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156363 >From 261f86f49e1757ab4f546c65b2e1a14b21f63b70 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:27:48 +0300 Subject: [PATCH] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA Th

[llvm-branch-commits] [llvm] [RISCV] Remove post-decoding instruction adjustments (PR #156360)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156360 >From 9f30122b180122b518a4dca079145846bb87e428 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:18:06 +0300 Subject: [PATCH] [RISCV] Remove post-decoding instruction adjustments --

[llvm-branch-commits] [llvm] [AArch64] Correctly disassemble TSB instruction (PR #156362)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov created https://github.com/llvm/llvm-project/pull/156362 TSB instruction has one operand, but the generated disassembler didn't decode this operand. AArch64InstPrinter had a workaround for this. This instruction can now be disassembled correctly. >From fa1e14dac

[llvm-branch-commits] [llvm] [RISCV] Remove post-decoding instruction adjustments (PR #156360)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156360 >From 90b336fee8086a479bff2297d7174f6f1e4c9f2c Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:18:06 +0300 Subject: [PATCH] [RISCV] Remove post-decoding instruction adjustments --

[llvm-branch-commits] [llvm] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA (PR #156363)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156363 >From 5cc7d7a3a60c660222fb7bdf7e856d0b1608df9b Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:27:48 +0300 Subject: [PATCH] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA Th

[llvm-branch-commits] [llvm] [AArch64] Remove post-decoding instruction mutations (PR #156364)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156364 >From ed2916521d54928b73305de69b1556d1d8a50f5b Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:30:01 +0300 Subject: [PATCH] [AArch64] Remove post-decoding instruction mutations Th

[llvm-branch-commits] [llvm] [AArch64] Correctly disassemble TSB instruction (PR #156362)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156362 >From fe7aa772ca06338ec5a42b2a3fe9e78a22559149 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:22:53 +0300 Subject: [PATCH] [AArch64] Correctly disassemble TSB instruction TSB ins

[llvm-branch-commits] [llvm] [AVR] Remove workarounds for instructions using Z register (PR #156361)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156361 >From 067f93e7a548574db69918a780ec15d060a523a5 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:18:57 +0300 Subject: [PATCH] [AVR] Remove workarounds for instructions using Z regist

[llvm-branch-commits] [llvm] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA (PR #156363)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156363 >From 5cc7d7a3a60c660222fb7bdf7e856d0b1608df9b Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:27:48 +0300 Subject: [PATCH] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA Th

[llvm-branch-commits] [llvm] [RISCV] Remove post-decoding instruction adjustments (PR #156360)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov updated https://github.com/llvm/llvm-project/pull/156360 >From 90b336fee8086a479bff2297d7174f6f1e4c9f2c Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:18:06 +0300 Subject: [PATCH] [RISCV] Remove post-decoding instruction adjustments --

[llvm-branch-commits] [llvm] [AArch64] Correctly disassemble TSB instruction (PR #156362)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
s-barannikov 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.dev/github/pr/llvm/llvm-project/156362?utm_source=stack-comment-downstack-mergeability-warn

[llvm-branch-commits] [llvm] [AArch64] Remove post-decoding instruction mutations (PR #156364)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov created https://github.com/llvm/llvm-project/pull/156364 These instructions can now be fully decoded automatically. >From 769d57ad3760b30d46865b42aa9cc54a884f6f22 Mon Sep 17 00:00:00 2001 From: Sergei Barannikov Date: Mon, 1 Sep 2025 20:30:01 +0300 Subject: [PAT

[llvm-branch-commits] [llvm] [AArch64] Remove post-decoding instruction mutations (PR #156364)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
s-barannikov 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.dev/github/pr/llvm/llvm-project/156364?utm_source=stack-comment-downstack-mergeability-warn

[llvm-branch-commits] [llvm] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA (PR #156363)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
s-barannikov 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.dev/github/pr/llvm/llvm-project/156363?utm_source=stack-comment-downstack-mergeability-warn

[llvm-branch-commits] [llvm] [AArch64] Provide a custom decoder for LDR_ZA/STR_ZA (PR #156363)

2025-09-01 Thread Sergei Barannikov via llvm-branch-commits
https://github.com/s-barannikov created https://github.com/llvm/llvm-project/pull/156363 These are the only instructions that encode two operands in the same field. Instead of fixing them after they have been incorrectly decoded, provide a custom decoder. >From 294e56f946eb8ce0375a627d3a69f8551

[llvm-branch-commits] [llvm] [Remarks] Remove redundant size from StringRefs (NFC) (PR #156357)

2025-09-01 Thread Tobias Stadler via llvm-branch-commits
https://github.com/tobias-stadler updated https://github.com/llvm/llvm-project/pull/156357 >From e3951bca5a4a5c169975f13faa679a761455976a Mon Sep 17 00:00:00 2001 From: Tobias Stadler Date: Mon, 1 Sep 2025 19:02:32 +0100 Subject: [PATCH] fix format Created using spr 1.3.7-wip --- llvm/include

[llvm-branch-commits] [llvm] [LV] Bundle partial reductions inside VPExpressionRecipe (PR #147302)

2025-09-01 Thread Sam Tebbs via llvm-branch-commits
https://github.com/SamTebbs33 reopened https://github.com/llvm/llvm-project/pull/147302 ___ 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: [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (#155957) (PR #156271)

2025-09-01 Thread Aiden Grossman via llvm-branch-commits
boomanaiden154 wrote: > lgtm, but you probably want the release branch owner to lgtm, too Yeah. That's @tru currently. They're the only ones with merge permissions, so have to be involved either way,. https://github.com/llvm/llvm-project/pull/156271

[llvm-branch-commits] [compiler-rt] release/21.x: [rtsan] Add versioned pthread_cond interceptors (#155970) (PR #156196)

2025-09-01 Thread via llvm-branch-commits
https://github.com/davidtrevelyan approved this pull request. https://github.com/llvm/llvm-project/pull/156196 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [mlir] [mlir][ptr] Add translations to LLVMIR for ptr ops. (PR #156355)

2025-09-01 Thread Fabian Mora via llvm-branch-commits
https://github.com/fabianmcg updated https://github.com/llvm/llvm-project/pull/156355 >From d4befc04b5565fd13cc53694031bf8296fd22312 Mon Sep 17 00:00:00 2001 From: Fabian Mora <[email protected]> Date: Mon, 1 Sep 2025 16:32:01 + Subject: [PATCH 1/2] add translations

[llvm-branch-commits] [mlir] [mlir][ptr] Add translations to LLVMIR for ptr ops. (PR #156355)

2025-09-01 Thread Fabian Mora via llvm-branch-commits
https://github.com/fabianmcg created https://github.com/llvm/llvm-project/pull/156355 Implements translation from ptr dialect to LLVM IR for core pointer operations: - `ptr.ptr_add` -> `getelementptr` - `ptr.load` -> `load` with atomic ordering, volatility, and metadata support - `ptr.store` ->

[llvm-branch-commits] [llvm] [AArch64][SME] Support agnostic ZA functions in the MachineSMEABIPass (PR #149064)

2025-09-01 Thread Sander de Smalen via llvm-branch-commits
@@ -200,7 +200,7 @@ struct MachineSMEABI : public MachineFunctionPass { /// Inserts code to handle changes between ZA states within the function. /// E.g., ACTIVE -> LOCAL_SAVED will insert code required to save ZA. - void insertStateChanges(); + void insertStateChanges(

[llvm-branch-commits] [llvm] [AArch64][SME] Support agnostic ZA functions in the MachineSMEABIPass (PR #149064)

2025-09-01 Thread Sander de Smalen via llvm-branch-commits
@@ -9115,9 +9115,13 @@ AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI, bool UseNewSMEABILowering = getTM().useNewSMEABILowering(); bool IsAgnosticZAFunction = CallAttrs.caller().hasAgnosticZAInterface(); auto ZAMarkerNode = [&]() -> std::optional { -// TODO: H

[llvm-branch-commits] [llvm] [AArch64][SME] Support agnostic ZA functions in the MachineSMEABIPass (PR #149064)

2025-09-01 Thread Sander de Smalen via llvm-branch-commits
https://github.com/sdesmalen-arm approved this pull request. Left two nits, but LGTM otherwise. https://github.com/llvm/llvm-project/pull/149064 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mail

[llvm-branch-commits] [llvm] release/21.x: [SLP]Do not to try to revectorize previously vectorized phis in loops (PR #156297)

2025-09-01 Thread Alexey Bataev via llvm-branch-commits
https://github.com/alexey-bataev approved this pull request. https://github.com/llvm/llvm-project/pull/156297 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [flang][do concurent] Add saxpy offload tests for OpenMP mapping (PR #155993)

2025-09-01 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/155993 >From c50d3e69edd6aa9822e64bc7e66df9cc45c1c585 Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 29 Aug 2025 04:04:07 -0500 Subject: [PATCH] [flang][do concurent] Add saxpy offload tests for OpenMP mapping Adds

[llvm-branch-commits] [flang] [flang][OpenMP] `do concurrent` to device mapping lit tests (PR #155992)

2025-09-01 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/155992 >From f2e47d9826e1c918f0f17e99944adb4745072094 Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 29 Aug 2025 03:53:51 -0500 Subject: [PATCH] [flang][OpenMP] `do concurrent` to device mapping lit tests Adds more l

[llvm-branch-commits] [flang] [flang][OpenMP] Extend `do concurrent` mapping to device (PR #155987)

2025-09-01 Thread Kareem Ergawy via llvm-branch-commits
https://github.com/ergawy updated https://github.com/llvm/llvm-project/pull/155987 >From 196da8dbc131ebab352eb75e4b40b407be63bcc9 Mon Sep 17 00:00:00 2001 From: ergawy Date: Fri, 29 Aug 2025 02:04:49 -0500 Subject: [PATCH] [flang][OpenMP] Extend `do concurrent` mapping to device Upstreams furt

[llvm-branch-commits] [llvm] release/21.x: [SLP]Do not to try to revectorize previously vectorized phis in loops (PR #156297)

2025-09-01 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/156297 Backport 7730ebce8e8fa84db4da04a7d8fe1977ccbf28ff Requested by: @nikic >From e2b91fde2aea498001ff429051c3d6feb4592f6b Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Sun, 31 Aug 2025 10:37:24 -0700 Subject:

[llvm-branch-commits] [compiler-rt] release/21.x: [sanitizer_common] Older Haiku needs _GNU_SOURCE (#156291) (PR #156303)

2025-09-01 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/156303 Backport 27c80fba53cd44ff3d575c6049bf88ecf6c15bc2 Requested by: @brad0 >From 445f9780fd132c47fa813ff691db78b4f3375752 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Mon, 1 Sep 2025 06:06:50 -0400 Subject: [PA

[llvm-branch-commits] [compiler-rt] release/21.x: [sanitizer_common] Older Haiku needs _GNU_SOURCE (#156291) (PR #156303)

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

[llvm-branch-commits] [clang-tools-extra] [clangd] Use HeuristicResolver to try to resolve dependent 'auto' (PR #156283)

2025-09-01 Thread Nathan Ridge via llvm-branch-commits
https://github.com/HighCommander4 created https://github.com/llvm/llvm-project/pull/156283 Fixes https://github.com/clangd/clangd/issues/2431 >From 45bcf1eee94b6c13d81b6a1049881882c098db2a Mon Sep 17 00:00:00 2001 From: Nathan Ridge Date: Wed, 27 Aug 2025 00:50:30 -0400 Subject: [PATCH] [clang