]> git.ipfire.org Git - people/ms/gcc.git/commit
gimple-loop-interchange.cc (is-a.h): New header file.
authorBin Cheng <amker@gcc.gnu.org>
Fri, 1 Dec 2017 14:33:03 +0000 (14:33 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 1 Dec 2017 14:33:03 +0000 (14:33 +0000)
commit405a28c95dab82fa68436cffa12fb65e476e216c
tree8e09e28bf569dea1f51afaf524bea6fe4de9ff5b
parent4c557c22f4b7889652b1cac45a1ce777e362210c
gimple-loop-interchange.cc (is-a.h): New header file.

2017-12-01  Bin Cheng  <bin.cheng@arm.com>

* gimple-loop-interchange.cc (is-a.h): New header file.
(loop_cand::find_reduction_by_stmt): Use dyn_cast instead of is_a<>
and as_a<>.
(loop_cand::analyze_iloop_reduction_var): Ditto.
(loop_cand::analyze_oloop_reduction_var): Ditto.  Check gimple stmt
against phi node directly.

From-SVN: r255310
gcc/gimple-loop-interchange.cc