[PATCH] D34077: DAGCombine: Combine BUILD_VECTOR to TRUNCATE

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 00:38:52 PDT 2017


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

Following Elena's suggestion, pulling the profitability check out from reduceBuildVecToTrunc().


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.104100.patch
Type: text/x-patch
Size: 49159 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170627/6bd3aa47/attachment.bin>


More information about the llvm-commits mailing list