]> git.ipfire.org Git - thirdparty/gcc.git/commit
graphite: Extend SCoP detection dump output
authorFrederik Harwath <frederik@codesourcery.com>
Tue, 16 Nov 2021 15:11:21 +0000 (16:11 +0100)
committerFrederik Harwath <frederik@codesourcery.com>
Wed, 17 Nov 2021 07:35:43 +0000 (08:35 +0100)
commit30bc9660cf1df386bbe41d0fd97e46d31c2213c8
tree30a571ff55e6ca6cb98ee324c41e1f561c0d06e3
parent292c39d68fabfe4016be1e108062476f6dac37ec
graphite: Extend SCoP detection dump output

Extend dump output to make understanding why Graphite rejects to
include a loop in a SCoP easier (for GCC developers).

ChangeLog:

        * graphite-scop-detection.c (scop_detection::can_represent_loop):
Output reason for failure to dump file.
        (scop_detection::harmful_loop_in_region): Likewise.
        (scop_detection::graphite_can_represent_expr): Likewise.
        (scop_detection::stmt_has_simple_data_refs_p): Likewise.
        (scop_detection::stmt_simple_for_scop_p): Likewise.
(print_sese_loop_numbers): New function.
        (scop_detection::add_scop): Use from here to print loops in
rejected SCoP.
gcc/graphite-scop-detection.c