[PATCH] D14261: [X86][SSE] Detect zeroable shuffle elements from different value types

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 15 19:31:59 PDT 2016


RKSimon retitled this revision from "[X86][SSE] Recursive search for zeroable shuffle elements" to "[X86][SSE] Detect zeroable shuffle elements from different value types".
RKSimon updated the summary for this revision.
RKSimon updated this revision to Diff 50792.
RKSimon added a comment.

As recommended by Chandler, I've adjusted this patch to avoid recursion (we now do this in setTargetShuffleZeroElements for target shuffle combining) and instead focus on improving computeZeroableShuffleElements to be able to peek through bitcasts to extract zero/undef values from BUILD_VECTOR nodes of different element sizes to the shuffle mask.


Repository:
  rL LLVM

http://reviews.llvm.org/D14261

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/insertps-combine.ll
  test/CodeGen/X86/widen_load-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14261.50792.patch
Type: text/x-patch
Size: 9991 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160316/2b199683/attachment.bin>


More information about the llvm-commits mailing list