[all-commits] [llvm/llvm-project] 3c36bd: NFC Pre-commit of rerunning checks on partial-redu...
Sander de Smalen via All-commits
all-commits at lists.llvm.org
Wed Mar 4 00:45:06 PST 2026
Branch: refs/heads/users/sdesmalen-arm/lv-mitigate-regressions-cost-tweaks
Home: https://github.com/llvm/llvm-project
Commit: 3c36bd1f95701cceb5a7613b5c2975a23e8a5dbd
https://github.com/llvm/llvm-project/commit/3c36bd1f95701cceb5a7613b5c2975a23e8a5dbd
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-chained.ll
Log Message:
-----------
NFC Pre-commit of rerunning checks on partial-reduced-chained.ll
Commit: 2d28452ba2d713d7d1718aeac7666830d8ee5701
https://github.com/llvm/llvm-project/commit/2d28452ba2d713d7d1718aeac7666830d8ee5701
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-add-sdot-i16-i32.ll
M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-fdot-product.ll
M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-sub-sdot.ll
Log Message:
-----------
Various changes to the cost-model.
This has a number of changes to the partial reduction cost-model:
* Implement the fact that *MLALB/T instructions can be used for
16-bit -> 32-bit partial reductions (or *MLAL/MLAL2 for NEON).
* Fixes the cost of reductions that don't have specific lowering,
rather than returning a random number, we now return the cost of
expanding the partial reduction in ISel.
For sub-reductions we scale the cost to make them slightly cheaper,
so that they're still candidates for forming cdot operations.
* Reduce the cost of FP reductions, which are currently prohibitively
expensive.
Compare: https://github.com/llvm/llvm-project/compare/239b67478470...2d28452ba2d7
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list