Fix PR 17368: disable unnecessary vector multiplication distribution for square of add/sub on ARM

Renato Golin renato.golin at linaro.org
Wed Sep 25 15:28:17 PDT 2013


LGTM.

Cheers,
Renato
On 25 Sep 2013 23:26, "Weiming Zhao" <weimingz at codeaurora.org> wrote:

> Hi Tim,
>
> Thanks for the comments. The original test case was just copied from the
> one
> above it (@distribute2_commutative) . :D
> Attached is a more clean test case
>
> Thanks,
> Weiming
>
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted
> by
> The Linux Foundation
>
> -----Original Message-----
> From: Tim Northover [mailto:t.p.northover at gmail.com]
> Sent: Wednesday, September 25, 2013 1:18 PM
> To: Weiming Zhao
> Cc: llvm-commits
> Subject: Re: Fix PR 17368: disable unnecessary vector multiplication
> distribution for square of add/sub on ARM
>
> > Please help to review the patch
>
> The change itself looks almost trivially right, but that test seems
> excessively complicated to me; it's really not obvious what the key point
> is
> if it ever breaks.
>
> Is there a reason why you can't define @no_distribute to take (<8 x
> i8>, <8 x i8>) and return <8 x i8>?
>
> Cheers.
>
> Tim.
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130925/944d8501/attachment.html>


More information about the llvm-commits mailing list