re PR tree-optimization/88497 (Improve Accumulation in Auto-Vectorized Code)
authorKewen Lin <linkw@gcc.gnu.org>
Mon, 15 Jul 2019 05:12:05 +0000 (05:12 +0000)
committerKewen Lin <linkw@gcc.gnu.org>
Mon, 15 Jul 2019 05:12:05 +0000 (05:12 +0000)
commit6c2833e74e4e64a71bafaf6e20e65506bbce5a5c
tree72bf6558a965e41b38734da8eeb6753c2f53c690
parent3126c241afaa38bc9002b3c15e244070b80af09d
re PR tree-optimization/88497 (Improve Accumulation in Auto-Vectorized Code)

gcc/ChangeLog

2019-07-15  Kewen Lin  <linkw@gcc.gnu.org>

    PR tree-optimization/88497
    * tree-ssa-reassoc.c (reassociate_bb): Swap the positions of
    GIMPLE_BINARY_RHS check and gimple_visited_p check, call new
    function undistribute_bitref_for_vector.
    (undistribute_bitref_for_vector): New function.
    (cleanup_vinfo_map): Likewise.
    (sort_by_mach_mode): Likewise.

gcc/testsuite/ChangeLog

2019-07-15  Kewen Lin  <linkw@gcc.gnu.org>

    PR tree-optimization/88497
    * gcc.dg/tree-ssa/pr88497-1.c: New test.
    * gcc.dg/tree-ssa/pr88497-2.c: Likewise.
    * gcc.dg/tree-ssa/pr88497-3.c: Likewise.
    * gcc.dg/tree-ssa/pr88497-4.c: Likewise.
    * gcc.dg/tree-ssa/pr88497-5.c: Likewise.
    * gcc.dg/tree-ssa/pr88497-6.c: Likewise.
    * gcc.dg/tree-ssa/pr88497-7.c: Likewise.

From-SVN: r273490
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr88497-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr88497-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr88497-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr88497-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr88497-5.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr88497-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/pr88497-7.c [new file with mode: 0644]
gcc/tree-ssa-reassoc.c