[PATCH] D98934: [SVE] Add instruction cost for fptrunc in loops

Nashe Mncube via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 19 02:37:19 PDT 2021


nasherm created this revision.
Herald added subscribers: psnobl, hiraditya, tschuett.
Herald added a reviewer: efriedma.
nasherm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Floating point truncations within loops for scalable
vectors didn't have a cost associated with them. This patch
adds cost for these operations and associated tests.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98934

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/CodeGen/AArch64/fptrunc-cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98934.331808.patch
Type: text/x-patch
Size: 14164 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210319/44c73378/attachment.bin>


More information about the llvm-commits mailing list