On Tue, Feb 16, 2016 at 5:50 AM, Hurugalawadi, Naveen
<naveen.hurugalaw...@caviumnetworks.com> wrote:
> Hi,
>
>>> I'm also failing to see why you can't enhance the existing
>
> Please find attached the patch that enhances the existing pattern.
> Please review the patch and let me know if any further modifications
> are required.

What's the motivation of splitting this into a equal type (borken for
the vector case)
and a non-equal type case?  Simply only allow nop-conversions here
(tree_nop_conversion_p)
and unconditionally emit

 (scmp (view_convert:newtype @0) (bit_not @1))

?  The conversion will be omitted if it turns out to be not necessary
and a view_convert
will be turned into a regular conversion for non-vector cases.

Richard.

> Thanks,
> Naveen

Reply via email to