[all-commits] [llvm/llvm-project] 0c4651: [CostModel][AArch64] Improve cost model for vector...
RosieSumpter via All-commits
all-commits at lists.llvm.org
Thu Jun 24 04:16:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0c4651f0a883443259684aa6de69d26a5bd49e46
https://github.com/llvm/llvm-project/commit/0c4651f0a883443259684aa6de69d26a5bd49e46
Author: Rosie Sumpter <rosie.sumpter at arm.com>
Date: 2021-06-24 (Thu, 24 Jun 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/AArch64/reduce-and.ll
M llvm/test/Analysis/CostModel/AArch64/reduce-or.ll
A llvm/test/Analysis/CostModel/AArch64/reduce-xor.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/slp-and-reduction.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/slp-or-reduction.ll
M llvm/test/Transforms/SLPVectorizer/AArch64/slp-xor-reduction.ll
Log Message:
-----------
[CostModel][AArch64] Improve cost model for vector reduction intrinsics
OR, XOR and AND entries are added to the cost table. An extra cost
is added when vector splitting occurs.
This is done to address the issue of a missed SLP vectorization
opportunity due to unreasonably high costs being attributed to the vector
Or reduction (see: https://bugs.llvm.org/show_bug.cgi?id=44593).
Differential Revision: https://reviews.llvm.org/D104538
More information about the All-commits
mailing list