[PATCH] D104538: [CostModel][AArch64] Improve cost model for vector reduce Or intrinsic
Rosie Sumpter via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 18 07:40:40 PDT 2021
RosieSumpter created this revision.
RosieSumpter added reviewers: SjoerdMeijer, dmgreen.
Herald added subscribers: danielkiss, hiraditya, kristof.beyls.
RosieSumpter requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Or 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).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104538
Files:
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/AArch64/reduce-or.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104538.353004.patch
Type: text/x-patch
Size: 7589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210618/4969c56e/attachment.bin>
More information about the llvm-commits
mailing list