On Tue, Mar 28, 2017 at 2:01 PM, Bin Cheng <bin.ch...@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.ch...@arm.com> > > * tree-vect-loop.c (optimize_mask_stores): Add bb to the right > loop.