re PR tree-optimization/91532 ([SVE] Redundant predicated store in gcc.target/aarch64...
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Mon, 7 Oct 2019 23:44:49 +0000 (23:44 +0000)
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>
Mon, 7 Oct 2019 23:44:49 +0000 (23:44 +0000)
commitb238b34ea47222ffca7addc5fe4e8c052ade88b3
tree45203ecc92dbec87d0c66cc74bce887c2b158735
parentcac52161c501abb93ded17a8f41b4a6310dbdab0
re PR tree-optimization/91532 ([SVE] Redundant predicated store in gcc.target/aarch64/fmla_2.c)

2019-10-07  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
    Richard Biener  <rguenther@suse.de>

PR tree-optimization/91532
* tree-if-conv.c: Include tree-ssa-dse.h.
(ifcvt_local_dce): Change param from bb to loop,
and call dse_classify_store.
(tree_if_conversion): Pass loop instead of loop->header as arg
to ifcvt_local_dce.
* tree-ssa-dse.c: Include tree-ssa-dse.h.
(delete_dead_or_redundant_assignment): Remove static qualifier from
declaration, and add prototype in tree-ssa-dse.h.
(dse_store_status): Move to tree-ssa-dse.h.
(dse_classify_store): Remove static qualifier and add new tree param
stop_at_vuse, and add prototype in tree-ssa-dse.h.
* tree-ssa-dse.h: New header.

Co-Authored-By: Richard Biener <rguenther@suse.de>
From-SVN: r276681
gcc/ChangeLog
gcc/tree-if-conv.c
gcc/tree-ssa-dse.c
gcc/tree-ssa-dse.h [new file with mode: 0644]