Commit 1ee9ef73 by Aditya Kumar Committed by Sebastian Pop

graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in case of a return statement in scop.

        * graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in
        case of a return statement in scop.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>

From-SVN: r225849
parent 4bc4dd11
2015-07-15 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>
* graphite-scop-detection.c (stmt_simple_for_scop_p): Bail out in
case of a return statement in scop.
2015-07-15 Aditya Kumar <aditya.k7@samsung.com>
Sebastian Pop <s.pop@samsung.com>
* graphite-sese-to-poly.c (parameter_index_in_region): Only handle
......
......@@ -349,7 +349,6 @@ stmt_simple_for_scop_p (basic_block scop_entry, loop_p outermost_loop,
switch (gimple_code (stmt))
{
case GIMPLE_RETURN:
case GIMPLE_LABEL:
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment