[PATCH] D157628: [AArch64][SVE2] Change the cost of extends with S/URHADD to 0

Kerry McLaughlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 22 07:22:40 PDT 2023


kmclaughlin updated this revision to Diff 552351.
kmclaughlin marked 4 inline comments as done.
kmclaughlin added a comment.

- Removed check that Dst type is double the Src type and replaced with a check that Src is a legal type
- Added tests where the extends are more than doubling the Src type
- Renamed test file & removed GEPs from tests


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

https://reviews.llvm.org/D157628

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/test/Analysis/CostModel/AArch64/ext-rhadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157628.552351.patch
Type: text/x-patch
Size: 17051 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230822/2fea02ab/attachment.bin>


More information about the llvm-commits mailing list