[PATCH] [X86][SSE] Generalised unpackl/unpckh shuffle matching
    Simon Pilgrim 
    llvm-dev at redking.me.uk
       
    Sun Feb 15 09:19:58 PST 2015
    
    
  
Reduced scope of this to just deal with commuted version of the 64 and 32 bit element shuffles (pre-AVX512) byt adding missing matching patterns.
The core of the problem is that the lowerVectorShuffle canonicalization can't (and shouldn't) be second guessing the importance of undefined lanes and should just sort by the numbers of defined 1st/2nd input lanes. This is a problem for explicit shuffle matching using both inputs, which is just the unpck instructions these days.
REPOSITORY
  rL LLVM
http://reviews.llvm.org/D7564
Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/vector-shuffle-128-v4.ll
  test/CodeGen/X86/vector-shuffle-256-v4.ll
  test/CodeGen/X86/vector-shuffle-256-v8.ll
EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7564.19986.patch
Type: text/x-patch
Size: 9240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150215/0f7ae3f9/attachment.bin>
    
    
More information about the llvm-commits
mailing list