[PATCH] D113852: [X86][Costmodel] `trunc v32i16 to v64i8` can appear after legalization, cost is same as for `trunc v32i16 to v32i8`

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 14 10:08:28 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.

Some of the costs get larger here, so i thought i should get a second opinion.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113852

Files:
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/X86/arith-fix.ll
  llvm/test/Analysis/CostModel/X86/arith-overflow.ll
  llvm/test/Analysis/CostModel/X86/arith.ll
  llvm/test/Analysis/CostModel/X86/mul.ll
  llvm/test/Analysis/CostModel/X86/rem.ll
  llvm/test/Analysis/CostModel/X86/trunc.ll

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


More information about the llvm-commits mailing list