[PATCH] D100865: [COST] Improve shuffle kind detection if shuffle mask is provided.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 09:25:01 PDT 2021


ABataev created this revision.
ABataev added reviewers: RKSimon, spatel, CarolineConcatto, greened, sdesmalen, fhahn.
Herald added subscribers: kerbowa, pengfei, hiraditya, nhaehnle, jvesely, arsenm.
ABataev requested review of this revision.
Herald added a project: LLVM.

Added an extra analysis for better choosing of shuffle kind in
getShuffleCost functions for better cost estimation if mask was
provided.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100865

Files:
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100865.338901.patch
Type: text/x-patch
Size: 5400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210420/09db5b78/attachment.bin>


More information about the llvm-commits mailing list