[PATCH] D53570: [TTI] Add generic SK_Broadcast shuffle costs

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 23 06:36:53 PDT 2018


RKSimon created this revision.
RKSimon added reviewers: efriedma, t.p.northover, javed.absar, dorit, samparker.
Herald added a subscriber: kristof.beyls.

I noticed while fixing PR39368 that we don't have generic shuffle costs for broadcast style shuffles.

This patch adds SK_BROADCAST handling, but exposes ARM/AARCH64 lack of handling of this type, which I've tried to handle.


Repository:
  rL LLVM

https://reviews.llvm.org/D53570

Files:
  include/llvm/CodeGen/BasicTTIImpl.h
  lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  lib/Target/ARM/ARMTargetTransformInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53570.170629.patch
Type: text/x-patch
Size: 4483 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181023/28c3080e/attachment-0001.bin>


More information about the llvm-commits mailing list