[PATCH] D106239: [AArch64] Expand the SVE min/max reduction costs to NEON

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 18 08:19:18 PDT 2021


dmgreen created this revision.
Herald added subscribers: hiraditya, kristof.beyls, tschuett.
dmgreen requested review of this revision.
Herald added a project: LLVM.

This takes the existing SVE costing for the various min/max reduction intrinsics and expands it to NEON, where I believe it applies equally well.


https://reviews.llvm.org/D106239

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/reduce-minmax.ll
  llvm/test/Analysis/CostModel/AArch64/vector-reduce.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106239.359630.patch
Type: text/x-patch
Size: 38534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210718/0e8ccd09/attachment.bin>


More information about the llvm-commits mailing list