This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]