[llvm] r279125 - [SLP] Initialize VectorizedValue when gathering

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 15:47:37 PDT 2016


On Thu, Aug 18, 2016 at 12:50 PM, Matthew Simpson via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> Author: mssimpso
> Date: Thu Aug 18 14:50:32 2016
> New Revision: 279125
>
> URL: http://llvm.org/viewvc/llvm-project?rev=279125&view=rev
> Log:
> [SLP] Initialize VectorizedValue when gathering
>
> We abort building vectorizable trees in some cases (e.g., if the maximum
> recursion depth is reached, if the region size is too large, etc.). If this
> happens for a reduction, we can be left with a root entry that needs to be
> gathered. For these cases, we need make sure we actually set VectorizedValue to
> the resulting vector.
>
> This patch ensures we properly set VectorizedValue, and it also ensures the
> insertelement sequence generated for the gathers is inserted at the correct
> location.
>
> Reference: https://llvm.org/bugs/show_bug.cgi?id=28330
> Differential Revison: https://reviews.llvm.org/D23410

Merged to 3.9 (together with r278343) in r279174.

Thanks,
Hans


More information about the llvm-commits mailing list