[graphite] discard scops for which entry==exit
authorAditya Kumar <aditya.k7@samsung.com>
Wed, 15 Jul 2015 21:37:01 +0000 (21:37 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 15 Jul 2015 21:37:01 +0000 (21:37 +0000)
commitd7f49f78a6446d958486ce2c96ed1727f6eca83e
tree2e5b41ab4ae404aeba80a03d473d49a0a0d518e9
parent1ee9ef73c3f428df74ad1dad692b493f4210e049
[graphite] discard scops for which entry==exit

In this patch we discard the scops where entry and exit are the same BB.
This is an effort to remove graphite-scop-detection.c:limit_scops.
Removing the limit_scops function introduces correctness regressions.
We are making relevant changes in incremental steps to fix those bugs,
and finally we intend to remove limit_scops.

2015-06-29  Aditya Kumar  <aditya.k7@samsung.com>
                Sebastian Pop <s.pop@samsung.com>

        * graphite-scop-detection.c (build_scops_1): Discard scops for which entry==exit

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r225850
gcc/ChangeLog
gcc/graphite-scop-detection.c