[PATCH] D34077: DAGCombine: Combine BUILD_VECTOR to TRUNCATE

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 07:34:18 PDT 2017


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

As Elena suggested, remove the redundant predicate on the getBitcast


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
  test/CodeGen/X86/vector-truncate-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34077.105047.patch
Type: text/x-patch
Size: 53853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170703/2245e5ac/attachment-0001.bin>


More information about the llvm-commits mailing list