check that all loops are valid in the combined region
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jan 2016 02:13:05 +0000 (02:13 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jan 2016 02:13:05 +0000 (02:13 +0000)
commitb8830caa0e7c8c1c23650d9b1ced3a06cb44828d
tree0ef1c4f80a48982d167e422a8c577a9a619f9f74
parent72fe350f75a06661053a1c4ea9dd49c81c43b2d6
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232653 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/graphite-scop-detection.c