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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 10:11:24 PDT 2020


craig.topper updated this revision to Diff 260949.
craig.topper added a comment.

Enabled a DAG combine post type legalization with a LegalTypes check to avoid a regression shift-combine.ll


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

https://reviews.llvm.org/D79045

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  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.260949.patch
Type: text/x-patch
Size: 36191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200429/fab5fd23/attachment.bin>


More information about the llvm-commits mailing list