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

Simon Pilgrim llvm-dev at redking.me.uk
Sun Apr 19 07:37:29 PDT 2015


Hi qcolombet, andreadb, spatel,

Patch to remove extra bitcasts from shuffles, this is often a legacy of XformToShuffleWithZero being used to combine bitmaskings (of float vectors bitcast to integer vectors) into shuffles:

bitcast(shuffle(bitcast(s0),bitcast(s1))) -> shuffle(s0,s1)

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.23992.patch
Type: text/x-patch
Size: 5417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150419/723cac46/attachment.bin>


More information about the llvm-commits mailing list