[PATCH] D132784: [AArch64][TTI] Add cost table entry for trunc over vector of integers.

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 1 08:35:28 PDT 2022


mingmingl updated this revision to Diff 457283.
mingmingl marked an inline comment as done.
mingmingl added a comment.

Changes:

1. Update the cost of `trunc <4 x i64> to <4 x i8>` from 3 to 2. Filed https://github.com/llvm/llvm-project/issues/57502 to track the differences in codegen.
2. Re-format affected table lines so columns are aligned. Only <4 x i64> -> <4 x i8> entry is updated in `cast.ll` and all other lines remain unchanged, compared with reviewed version (i.e., no inadvertent change due to re-formatting)


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

https://reviews.llvm.org/D132784

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/arith-overflow.ll
  llvm/test/Analysis/CostModel/AArch64/cast.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132784.457283.patch
Type: text/x-patch
Size: 18277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220901/1044714b/attachment.bin>


More information about the llvm-commits mailing list