This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/7] Fix SPEC2006 dealII with graphite enabled - committed.
- From: Tobias Grosser <grosser at fim dot uni-passau dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Tobias Grosser <grosser at fim dot uni-passau dot de>
- Date: Mon, 30 Nov 2009 23:10:00 +0100
- Subject: [PATCH 0/7] Fix SPEC2006 dealII with graphite enabled - committed.
Hi,
I just committed these graphite fixes.
The loops generated by graphite checked the execution count after the loop body.
This is wrong for loops that are executed zero times.
On my way I fixed debug_generated_program() and cleaned up the code a little.
Approved by Sebastian Pop
Bootstrapped on FreeBSD 8.0 32bit
Tobi
grosser (7):
Do not abuse sese for codegeneration
split translate_clast into single methods
Simplify translate_clast_* methods
Remove context_loop and level from translate_clast_* methods.
Protect loops that might be executed zero times.
Fix comments.
Correct testcase
gcc/ChangeLog.graphite | 62 +++
gcc/graphite-clast-to-gimple.c | 583 +++++++++++++++++++++--------
gcc/graphite-scop-detection.c | 20 +-
gcc/graphite-sese-to-poly.c | 23 --
gcc/sese.c | 8 -
gcc/sese.h | 107 ------
gcc/testsuite/g++.dg/graphite/pr42130.C | 19 +
gcc/testsuite/gcc.dg/graphite/pr35356-2.c | 16 +-
8 files changed, 517 insertions(+), 321 deletions(-)
create mode 100644 gcc/testsuite/g++.dg/graphite/pr42130.C