]> 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)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:44 +0000 (14:11 +0100)
commit17cd8dcff938fd13a01a7b8fc0c20f3ac9bc65d4
tree761468a746c6216eda3e36f1e15daa361b99d737
parent3e8b51d143e8818228cf813681ed1f5074484cbd
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).

gcc/ChangeLog:

        * graphite-scop-detection.cc (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/ChangeLog.omp
gcc/graphite-scop-detection.cc