[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)

2025-07-07 Thread David Sherwood via llvm-branch-commits
@@ -5538,7 +5538,7 @@ LoopVectorizationCostModel::getReductionPatternCost(Instruction *I, TTI::CastContextHint::None, CostKind, RedOp); InstructionCost RedCost = TTI.getMulAccReductionCost( -IsUnsigned, RdxDesc.getRecurrenceType(), Ext

[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)

2025-07-07 Thread David Sherwood via llvm-branch-commits
@@ -3116,7 +3116,10 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase { InstructionCost getMulAccReductionCost(bool IsUnsigned, Type *ResTy, VectorType *Ty, + bool Negated, TTI::TargetCostKind CostKind) co

[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)

2025-07-07 Thread David Sherwood via llvm-branch-commits
@@ -2757,6 +2757,12 @@ class VPExpressionRecipe : public VPSingleDefRecipe { /// vector operands, performing a reduction.add on the result, and adding /// the scalar result to a chain. MulAccReduction, +/// Represent an inloop multiply-accumulate reduction, mult

[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)

2025-07-07 Thread David Sherwood via llvm-branch-commits
@@ -1401,8 +1401,8 @@ static void analyzeCostOfVecReduction(const IntrinsicInst &II, TTI::CastContextHint::None, CostKind, RedOp); CostBeforeReduction = ExtCost * 2 + MulCost + Ext2Cost; -CostAfterReduction = -TTI.getMulAccReductio

[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)

2025-07-07 Thread David Sherwood via llvm-branch-commits
@@ -2725,6 +2729,31 @@ void VPExpressionRecipe::print(raw_ostream &O, const Twine &Indent, O << ")"; break; } + case ExpressionTypes::ExtNegatedMulAccReduction: { david-arm wrote: Is there a way to commonise this with the ExtMulAccReduction case if

[llvm-branch-commits] [llvm] [LV] Bundle sub reductions into VPExpressionRecipe (PR #147255)

2025-07-07 Thread David Sherwood via llvm-branch-commits
@@ -1645,8 +1645,10 @@ class TargetTransformInfo { /// extensions. This is the cost of as: /// ResTy vecreduce.add(mul (A, B)). /// ResTy vecreduce.add(mul(ext(Ty A), ext(Ty B)). + /// The multiply can optionally be negated, which signifies that it is a sub + /// reduct

[llvm-branch-commits] [llvm] ARM: Remove subtarget field tracking SjLj (PR #147226)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/147226 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] ARM: Move sjlj libcall configuration to RuntimeLibcalls (PR #147227)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm closed https://github.com/llvm/llvm-project/pull/147227 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [CodeGen][NPM] Clear MachineFunctions without using PA (PR #139517)

2025-07-07 Thread Christudasan Devadasan via llvm-branch-commits
@@ -285,7 +285,8 @@ template class CodeGenPassBuilder { FunctionPassManager FPM; FPM.addPass(createFunctionToMachineFunctionPassAdaptor(std::move(MFPM))); - FPM.addPass(InvalidateAnalysisPass()); + // Since this is the last pass in the pipeline, we can

[llvm-branch-commits] [clang] RFC02658:CLANG: DMF VSX Vector float GER 2x (rank-2 update) (PR #147383)

2025-07-07 Thread Lei Huang via llvm-branch-commits
https://github.com/lei137 created https://github.com/llvm/llvm-project/pull/147383 Add clang builtins for DMF VSX Vector floats: ``` void __builtin_mma_dmxvf16gerx2 (__dmr1024 *, __vector_pair, vec_t); void __builtin_mma_dmxvf16gerx2nn (__dmr1024 *, __vector_pair, vec_t); void __builtin_mma_dmx

[llvm-branch-commits] [clang] RFC02658:CLANG: DMF VSX Vector float GER 2x (rank-2 update) (PR #147383)

2025-07-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-backend-powerpc Author: Lei Huang (lei137) Changes Add clang builtins for DMF VSX Vector floats: ``` void __builtin_mma_dmxvf16gerx2 (__dmr1024 *, __vector_pair, vec_t); void __builtin_mma_dmxvf16gerx2nn (__dmr1024 *, __vector

[llvm-branch-commits] [clang] [PowerPC][CLANG] DMF VSX Vector float GER 2x (rank-2 update) (PR #147383)

2025-07-07 Thread Lei Huang via llvm-branch-commits
https://github.com/lei137 edited https://github.com/llvm/llvm-project/pull/147383 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] PowerPC:CLANG: DMF VSX Vector float GER 2x (rank-2 update) (PR #147383)

2025-07-07 Thread Lei Huang via llvm-branch-commits
https://github.com/lei137 edited https://github.com/llvm/llvm-project/pull/147383 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/20.x: [CoroSplit] Always erase lifetime intrinsics for spilled allocas (#142551) (PR #147448)

2025-07-07 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/147448 Backport 038dc2c63b2db744be6afeea74b18be4938149e9 Requested by: @ChuanqiXu9 >From 13f1e8e095bfbe59ce537a911e6fe95d940961ba Mon Sep 17 00:00:00 2001 From: Weibo He Date: Tue, 3 Jun 2025 18:52:41 +0800 Subject:

[llvm-branch-commits] [llvm] release/20.x: [CoroSplit] Always erase lifetime intrinsics for spilled allocas (#142551) (PR #147448)

2025-07-07 Thread via llvm-branch-commits
https://github.com/llvmbot milestoned https://github.com/llvm/llvm-project/pull/147448 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] release/20.x: [CoroSplit] Always erase lifetime intrinsics for spilled allocas (#142551) (PR #147448)

2025-07-07 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-coroutines @llvm/pr-subscribers-llvm-transforms Author: None (llvmbot) Changes Backport 038dc2c63b2db744be6afeea74b18be4938149e9 Requested by: @ChuanqiXu9 --- Full diff: https://github.com/llvm/llvm-project/pull/147448.diff 1 Files Affected: - (modi

[llvm-branch-commits] [llvm] release/20.x: [CoroSplit] Always erase lifetime intrinsics for spilled allocas (#142551) (PR #147448)

2025-07-07 Thread via llvm-branch-commits
llvmbot wrote: @ChuanqiXu9 What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/147448 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[llvm-branch-commits] [llvm] RuntimeLibcalls: Associate calling convention with libcall impls (PR #144979)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
arsenm wrote: ### Merge activity * **Jul 8, 1:13 AM UTC**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/144979). https://github.com/llvm/llvm-project/pull/144979 __

[llvm-branch-commits] [llvm] MSP430: Move libcall CC setting to RuntimeLibcallsInfo (PR #146081)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146081 >From e8b5aa10f291d51daabd1cbf35a4bbcca0d8320e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 16:35:14 +0900 Subject: [PATCH] MSP430: Move libcall CC setting to RuntimeLibcallsInfo As a tem

[llvm-branch-commits] [llvm] RuntimeLibcalls: Remove table of soft float compare cond codes (PR #146082)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146082 >From 48fcd78593c4dcccbfd47b26cd15af8669bb630d Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 19:10:30 +0900 Subject: [PATCH] RuntimeLibcalls: Remove table of soft float compare cond codes

[llvm-branch-commits] [llvm] MSP430: Move libcall CC setting to RuntimeLibcallsInfo (PR #146081)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146081 >From e8b5aa10f291d51daabd1cbf35a4bbcca0d8320e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 16:35:14 +0900 Subject: [PATCH] MSP430: Move libcall CC setting to RuntimeLibcallsInfo As a tem

[llvm-branch-commits] [llvm] Lanai: Use TableGen to set libcall calling conventions (PR #146080)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146080 >From 74a0108ac5e37e351bb251137d11569433a001f0 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 16:17:26 +0900 Subject: [PATCH] Lanai: Use TableGen to set libcall calling conventions --- llv

[llvm-branch-commits] [llvm] ARM: Unconditionally set eabi libcall calling convs in RuntimeLibcalls (PR #146083)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146083 >From 0017fe970358703c0227aa5dc31a952ddeddcc24 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 20:14:11 +0900 Subject: [PATCH 1/3] ARM: Unconditionally set eabi libcall calling convs in Runt

[llvm-branch-commits] [llvm] ARM: Start moving runtime libcalls into tablegen (PR #146084)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146084 >From 8dc9fc4ee600081d98afef0a5f3253f8c192348a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 23:23:01 +0900 Subject: [PATCH] ARM: Start moving runtime libcalls into tablegen We still need

[llvm-branch-commits] [llvm] ARM: Unconditionally set eabi libcall calling convs in RuntimeLibcalls (PR #146083)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146083 >From 0017fe970358703c0227aa5dc31a952ddeddcc24 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 20:14:11 +0900 Subject: [PATCH 1/3] ARM: Unconditionally set eabi libcall calling convs in Runt

[llvm-branch-commits] [llvm] Lanai: Use TableGen to set libcall calling conventions (PR #146080)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146080 >From 74a0108ac5e37e351bb251137d11569433a001f0 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 16:17:26 +0900 Subject: [PATCH] Lanai: Use TableGen to set libcall calling conventions --- llv

[llvm-branch-commits] [llvm] RuntimeLibcalls: Remove table of soft float compare cond codes (PR #146082)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146082 >From 48fcd78593c4dcccbfd47b26cd15af8669bb630d Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 19:10:30 +0900 Subject: [PATCH] RuntimeLibcalls: Remove table of soft float compare cond codes

[llvm-branch-commits] [llvm] ARM: Start moving runtime libcalls into tablegen (PR #146084)

2025-07-07 Thread Matt Arsenault via llvm-branch-commits
https://github.com/arsenm updated https://github.com/llvm/llvm-project/pull/146084 >From 8dc9fc4ee600081d98afef0a5f3253f8c192348a Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Mon, 23 Jun 2025 23:23:01 +0900 Subject: [PATCH] ARM: Start moving runtime libcalls into tablegen We still need

[llvm-branch-commits] [llvm] 6072d75 - fix jmmartinez's comments

2025-07-07 Thread via llvm-branch-commits
Author: shore Date: 2025-07-08T08:55:33+08:00 New Revision: 6072d751726616fc4c88d856fadc857e4afab884 URL: https://github.com/llvm/llvm-project/commit/6072d751726616fc4c88d856fadc857e4afab884 DIFF: https://github.com/llvm/llvm-project/commit/6072d751726616fc4c88d856fadc857e4afab884.diff LOG: fi

<    1   2