dump reasons why graphite failed to detect a scop
authorSebastian Pop <s.pop@samsung.com>
Sat, 25 Jul 2015 09:22:29 +0000 (09:22 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Sat, 25 Jul 2015 09:22:29 +0000 (09:22 +0000)
commit33df361a844c44f23ad435960e163ab1732b6d2a
treeb75d258502a2fdfede52aee8f6116fa73856a4fb
parent4c141304a869524c909a6a9346b004cda47659fc
dump reasons why graphite failed to detect a scop

When trying to analyze why Graphite does not handle a loop nest, it is easy to
look in the dumps of -fdump-tree-graphite-all to guess what has to be changed to
catch the loop.  This patch makes the dumps a bit more verbose and useful.

* graphite-scop-detection.c: Include gimple-pretty-print.h.
(stmt_simple_for_scop_p): Print when a stmt is not handled in Graphite.
(scopdet_basic_block_info): Print when a loop or bb cannot be
represented in Graphite.

From-SVN: r226213
gcc/ChangeLog
gcc/graphite-scop-detection.c