[PATCH] D113851: [X86][Costmodel] `trunc v8i64 to v16i8/v32i8/v64i8` can appear after legalization, cost is same as for `trunc v8i64 to v8i8`

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 14 10:08:26 PST 2021


lebedev.ri created this revision.
lebedev.ri added a reviewer: RKSimon.
lebedev.ri added a project: LLVM.
Herald added subscribers: pengfei, hiraditya.
lebedev.ri requested review of this revision.

While this one is trivial and identical to the previous patch,
there is a weird cost change in a follow-up patch that i'm not sure about.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113851

Files:
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/X86/trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113851.387105.patch
Type: text/x-patch
Size: 17003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211114/a27e31a5/attachment.bin>


More information about the llvm-commits mailing list