check that all loops are valid in the combined region
authorAditya Kumar <aditya.k7@samsung.com>
Thu, 21 Jan 2016 02:13:05 +0000 (02:13 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 21 Jan 2016 02:13:05 +0000 (02:13 +0000)
commitd7eff5b2843c5113220b825704600408558f4236
tree0ef1c4f80a48982d167e422a8c577a9a619f9f74
parentf5d8368a71bf68c3524edf8b0be0b8e7cb8aae10
check that all loops are valid in the combined region

the bug was exposed by rewriting an if condition into an assert in the computation
of the loop iteration domains.

* graphite-scop-detection.c (loop_is_valid_scop): Renamed loop_is_valid_in_scop.
(scop_detection::harmful_stmt_in_region): Renamed harmful_loop_in_region.
Call loop_is_valid_in_scop.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r232653
gcc/ChangeLog
gcc/graphite-scop-detection.c