[llvm-commits] vector widening patch

Mon Ping Wang wangmp at apple.com
Fri Oct 17 21:12:40 PDT 2008


Hi,

Here is a patch for vector widen.  In certain cases, it is more  
profitable to widen a vector from an illegal type to a legal type  
(e.g., v7i8 to v8i8) instead of scalarzing the vector.  This patch  
implements that.  The default implementation is to widen if there is a  
legal type that is wider than the illegal type and the vector has more  
elements.  Any target can override the default logic and implement it  
own policy.  Please let me know if you have any comments or concerns.

Thanks,
-- Mon Ping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: widening.patch
Type: application/octet-stream
Size: 31788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081017/4917e294/attachment.obj>


More information about the llvm-commits mailing list