[PATCH] D104538: [CostModel][AArch64] Improve cost model for vector reduction intrinsics

Rosie Sumpter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 22 08:04:46 PDT 2021


RosieSumpter updated this revision to Diff 353653.
RosieSumpter added a comment.

Updates have been made to the XOR and AND SLP vectorization regression tests. They now show that vectorization occurs with this cost model change.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104538/new/

https://reviews.llvm.org/D104538

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/reduce-and.ll
  llvm/test/Analysis/CostModel/AArch64/reduce-or.ll
  llvm/test/Analysis/CostModel/AArch64/reduce-xor.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/slp-and-reduction.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/slp-or-reduction.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/slp-xor-reduction.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104538.353653.patch
Type: text/x-patch
Size: 34041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210622/2269b576/attachment.bin>


More information about the llvm-commits mailing list