@@ -5538,7 +5538,7 @@
LoopVectorizationCostModel::getReductionPatternCost(Instruction *I,
TTI::CastContextHint::None, CostKind, RedOp);
InstructionCost RedCost = TTI.getMulAccReductionCost(
-IsUnsigned, RdxDesc.getRecurrenceType(), Ext
@@ -3116,7 +3116,10 @@ class BasicTTIImplBase : public
TargetTransformInfoImplCRTPBase {
InstructionCost
getMulAccReductionCost(bool IsUnsigned, Type *ResTy, VectorType *Ty,
+ bool Negated,
TTI::TargetCostKind CostKind) co
@@ -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
@@ -1401,8 +1401,8 @@ static void analyzeCostOfVecReduction(const IntrinsicInst
&II,
TTI::CastContextHint::None, CostKind, RedOp);
CostBeforeReduction = ExtCost * 2 + MulCost + Ext2Cost;
-CostAfterReduction =
-TTI.getMulAccReductio
@@ -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
@@ -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
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
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
@@ -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
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
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
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
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
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:
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
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
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
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
__
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
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
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
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
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
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
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
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
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
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
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
101 - 129 of 129 matches
Mail list logo