[PATCH 02/2]Add newly created bb to correct loop when reverting if-conversion in vectorizer
Tue Mar 28 12:01:00 GMT 2017
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?
2017-03-27 Bin Cheng <email@example.com>
* tree-vect-loop.c (optimize_mask_stores): Add bb to the right
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Gcc-patches