[PATCH] D100099: [X86][CostModel] Try to fix cost computation load/stores of non-power-of-two vectors

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 8 10:13:58 PDT 2021


lebedev.ri updated this revision to Diff 336157.
lebedev.ri marked an inline comment as done.
lebedev.ri added a comment.

Simplify loop as proposed by @ABataev.
I guess there is a similar problem in `X86TTIImpl::getMaskedMemoryOpCost()`.

I've figured out why this doesn't affect LV - because i should be fixing `X86TTIImpl::getInterleavedMemoryOpCost()`.
Will look there too..


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100099/new/

https://reviews.llvm.org/D100099

Files:
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/X86/load_store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100099.336157.patch
Type: text/x-patch
Size: 30763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210408/275e71ab/attachment-0001.bin>


More information about the llvm-commits mailing list