[llvm-commits] Patch: x86 shuffle patch for v8i16 and v16i8

Mon Ping Wang monping at apple.com
Fri Dec 19 00:09:43 PST 2008


Hi,

This patch is to fix two issues
   - PromoteSplat generate the same code for splats of an element  to  
v8i16 and v16i8 irregardless of which element to splat.  We should  
generate slightly different sequences depending on which element to  
splat.

  - In LowerVECTOR_SHUFFLEv8i16, if we have a shuffle that requires  
lowering to extract and insert between two different vectors, we can  
an assert in the compiler.  We were accessing a non existent mask  
element.

Please let me know if you have any comments,

Thanks,
   -- Mon Ping

-------------- next part --------------
A non-text attachment was scrubbed...
Name: splat.patch
Type: application/octet-stream
Size: 12493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081219/466d4c2a/attachment.obj>


More information about the llvm-commits mailing list