[llvm-commits] Patch: small fix to bit convert and shifts

Mon Ping Wang wangmp at apple.com
Fri Dec 5 21:09:36 PST 2008


Hi,

I'm resubmitting the patch with an additional change that fixes  
another bug when splitting vector shifts.  When unrolling a vector  
shift, we fix up the shift amount to be the correct type.  I left the  
fix up of the shift amount in LegalizeOp alone though I don't think it  
is ever needed since I don't think one can create a shift of a scalar  
with an incorrect shift amount type.  I also updated the LangRef with  
an examples of using vector for the shift operands.

-- Mon Ping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vshift.patch
Type: application/octet-stream
Size: 5425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20081205/d17e7337/attachment.obj>
-------------- next part --------------





More information about the llvm-commits mailing list