[PATCH] D100486: [COST]Improve cost model for shuffles in SLP.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 08:19:30 PDT 2021


ABataev created this revision.
ABataev added reviewers: RKSimon, spatel.
Herald added subscribers: pengfei, hiraditya.
ABataev requested review of this revision.
Herald added a project: LLVM.

Introduced masks where they are not added and improved target dependent
cost models to avoid returning of the incorrect cost results after
adding masks.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100486

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Analysis/CostModel/AArch64/getIntrinsicInstrCost-vector-reverse.ll
  llvm/test/Analysis/CostModel/X86/reduction.ll
  llvm/test/Analysis/CostModel/X86/shuffle-reverse.ll
  llvm/test/Analysis/CostModel/X86/shuffle-single-src.ll
  llvm/test/Transforms/LoopVectorize/AArch64/vector-reverse-mask4.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100486.337463.patch
Type: text/x-patch
Size: 133728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210414/fd5c4d80/attachment-0001.bin>


More information about the llvm-commits mailing list