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

Rosie Sumpter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 21 04:38:51 PDT 2021


RosieSumpter updated this revision to Diff 353337.
RosieSumpter retitled this revision from "[CostModel][AArch64] Improve cost model for vector reduce Or intrinsic" to "[CostModel][AArch64] Improve cost model for vector reduction intrinsics".
RosieSumpter edited the summary of this revision.
RosieSumpter added a comment.

- Added XOR and AND entries to the table and their cases (which fall through to the code for OR)



- Modified the reduce-and.ll test, and created a reduce-xor.ll test




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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104538.353337.patch
Type: text/x-patch
Size: 18905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210621/fbec38a4/attachment-0001.bin>


More information about the llvm-commits mailing list