[PATCH] D147322: [AArch64] Improve fshl cost modeling if 3rd arg is constant.

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 08:19:48 PDT 2023


zjaffal updated this revision to Diff 514963.
zjaffal added a comment.

1. Merge fshr cost modeling with this patch.
2. Remove unnecessary debug output
3. Fix cost model for scalar types. Using TyL.first + Cost instead of multiplication.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147322

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/fshl.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/fshl.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147322.514963.patch
Type: text/x-patch
Size: 11722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/1ae08e03/attachment.bin>


More information about the llvm-commits mailing list