[PATCH] D79045: [X86] Don't return true from isTruncateFree for vectors

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 14:37:12 PDT 2020


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Also fix some cost tables for vXi1 types to match the costs entries for the types they will be promoted to.


https://reviews.llvm.org/D79045

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/X86/cast.ll
  llvm/test/Analysis/CostModel/X86/min-legal-vector-width.ll
  llvm/test/Analysis/CostModel/X86/trunc.ll
  llvm/test/CodeGen/X86/shift-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79045.260772.patch
Type: text/x-patch
Size: 36269 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200428/fa5db37a/attachment.bin>


More information about the llvm-commits mailing list