[PATCH] [DAGCombiner] Remove extra bitcasts surrounding vector shuffles

Simon Pilgrim llvm-dev at redking.me.uk
Wed Apr 22 08:09:02 PDT 2015


Thanks Quentin,

I've added an extra test for peeking through the bitcasted masked constant vectors. The UNDEF implementation was never getting hit so I dropped that for simplicity (visitVECTOR_SHUFFLE has support for cases where the second operand is UNDEF already).


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9097

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/combine-or.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9097.24228.patch
Type: text/x-patch
Size: 6153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150422/dada3b77/attachment.bin>


More information about the llvm-commits mailing list