[all-commits] [llvm/llvm-project] 1f69a1: [CostModel][X86] getArithmeticReductionCost - ensu...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Aug 4 11:15:56 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f69a16289478c9a7b2cda5df4cd16d6609eb2c2
https://github.com/llvm/llvm-project/commit/1f69a16289478c9a7b2cda5df4cd16d6609eb2c2
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Transforms/SLPVectorizer/X86/reduced-value-stored.ll
Log Message:
-----------
[CostModel][X86] getArithmeticReductionCost - ensure we test the vXi1 reductions types before legalisation (#211043)
Pre-AVX512 these will be legalized to wider vector types and might match
against other reductions tables.
Noticed while working on improving logic reductions, but hit a case
with/without popcnt for bool sum reduction patterns - I've added a AVX2
test pass to check the (corrected) costs are still working
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