re PR tree-optimization/64746 (Loop with nested load/stores is not vectorized using...
authorYuri Rumyantsev <ysrumyan@gmail.com>
Thu, 29 Jan 2015 13:52:28 +0000 (13:52 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Thu, 29 Jan 2015 13:52:28 +0000 (13:52 +0000)
commitb8aa7083ec7490b69bd69c21e728f381f6cd4fc3
tree580d0bf030254594d77906cd1a8f4404e385f004
parentd94e3e750d1e5c2fc9ecc8e8a32adec33fc85f8e
re PR tree-optimization/64746 (Loop with nested load/stores is not vectorized using aggressive if-conversion.)

gcc/

PR tree-optimization/64746
* tree-if-conv.c (mask_exists): New function.
(predicate_mem_writes): Save created mask with given size for further
use.
(stmt_is_root_of_bool_pattern): Remove argument VAR and store to it.
(ifcvt_repair_bool_pattern): Collect all statements that are root
of bool pattern and use iterative algorithm to remove multiple uses
of predicates, display number of required iterations.

gcc/testsuite/

PR tree-optimization/64746
* gcc.target/i386/avx2-vect-aggressive-1.c: New test.

From-SVN: r220248
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/avx2-vect-aggressive-1.c [new file with mode: 0644]
gcc/tree-if-conv.c