[PATCH] D102515: [CostModel] Return an invalid cost for memory ops with unsupported types

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 19 08:39:52 PDT 2021


kmclaughlin updated this revision to Diff 346474.
kmclaughlin marked 2 inline comments as done.
kmclaughlin added a comment.

- Renamed `isLegalToVectorizeElementType` to `isElementTypeLegalForScalableVector` as suggested by @sdesmalen and stopped passing `VectorIsScalable`, as we are never calling this function when this is false.


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

https://reviews.llvm.org/D102515

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/CodeGen/TargetLoweringBase.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/test/Analysis/CostModel/AArch64/sve-illegal-types.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102515.346474.patch
Type: text/x-patch
Size: 9585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210519/d73be47c/attachment-0001.bin>


More information about the llvm-commits mailing list