[PATCH] D34077: DAGCombine: Combine BUILD_VECTOR to TRUNCATE

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 26 05:08:05 PDT 2017


zvi updated this revision to Diff 103926.
zvi added a comment.

This revision adds a TLI hook for disabling the combine. The combine will be only enabled for X86. We can enable more targets in the future if we see benenfit.


https://reviews.llvm.org/D34077

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86ISelLowering.h
  test/CodeGen/X86/shuffle-vs-trunc-256.ll
  test/CodeGen/X86/shuffle-vs-trunc-512.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34077.103926.patch
Type: text/x-patch
Size: 49444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170626/0183626e/attachment.bin>


More information about the llvm-commits mailing list