[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
Tue Apr 18 08:22:54 PDT 2023


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

Add more types to `CostTblEntry`

use `HigherCost` boolean to determine the cost for scalar fshl intrinsics.


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.514648.patch
Type: text/x-patch
Size: 11742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/5945cb31/attachment-0001.bin>


More information about the llvm-commits mailing list