This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 02/2]Add newly created bb to correct loop when reverting if-conversion in vectorizer


On Tue, Mar 28, 2017 at 2:01 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> This patch is to fix a latent vectorizer bug uncovered by previous one.  Function optimize_mask_stores
> creates if-then structure in CFG in order to revert if-conversion transformation.  It adds newly created
> then_bb to outer loop when vectorizing two levels loop nest and masked_store is in the inner loop.
> Without this patch, gcc.dg/tree-ssa/pr71077.c would be broken.  Bootstrap and test on AArch64, is it OK?

Ok.

Richard.

> 2017-03-27  Bin Cheng  <bin.cheng@arm.com>
>
>         * tree-vect-loop.c (optimize_mask_stores): Add bb to the right
>         loop.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]