From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29473 invoked by alias); 30 Nov 2010 14:50:49 -0000 Received: (qmail 29463 invoked by uid 22791); 30 Nov 2010 14:50:47 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-gy0-f175.google.com (HELO mail-gy0-f175.google.com) (209.85.160.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Nov 2010 14:50:42 +0000 Received: by gyd12 with SMTP id 12so3045029gyd.20 for ; Tue, 30 Nov 2010 06:50:41 -0800 (PST) Received: by 10.151.9.3 with SMTP id m3mr11849365ybi.432.1291128641049; Tue, 30 Nov 2010 06:50:41 -0800 (PST) Received: from napoca (adsl-76-244-77-0.dsl.austtx.sbcglobal.net [76.244.77.0]) by mx.google.com with ESMTPS id w19sm4072771ybe.16.2010.11.30.06.50.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 30 Nov 2010 06:50:40 -0800 (PST) Received: by napoca (sSMTP sendmail emulation); Tue, 30 Nov 2010 08:50:37 -0600 From: Sebastian Pop To: gcc-patches@gcc.gnu.org Cc: gcc-graphite@googlegroups.com, rguenther@suse.de, Sebastian Pop Subject: [PATCH 0/7] Fix PR45297 Date: Tue, 30 Nov 2010 15:33:00 -0000 Message-Id: <1291128636-30240-1-git-send-email-sebpop@gmail.com> X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2010-11/txt/msg02925.txt.bz2 This set of patches merges the changes needed to fix PR45297 from the Graphite branch to trunk. This has been bootstrapped and tested on amd64-linux. It also passed the SPEC benchmarks, although with some pre-existing errors inherited from the last merge from trunk: I will merge trunk into the graphite branch. Ok for trunk? Sebastian spop (7): Add a stride parameter to scop_do_strip_mine. Call recompute_tree_invariant_for_addr_expr when replacing a constant in an ADDR_EXPR. Do not rewrite out of SSA scalar dependences crossing the limits of the scop. Postpone the rewrite out of SSA to the end of the translation to polyhedral representation. LHS cannot be an ADDR_EXPR. Avoid the analysis of data references after the translation out of SSA. Fix unused warnings. gcc/ChangeLog | 101 +++++++ gcc/ChangeLog.graphite | 103 +++++++ gcc/graphite-blocking.c | 42 ++- gcc/graphite-poly.c | 12 +- gcc/graphite-poly.h | 20 ++- gcc/graphite-sese-to-poly.c | 477 +++++++++++++++++++------------ gcc/graphite-sese-to-poly.h | 4 - gcc/graphite.c | 29 +-- gcc/sese.c | 10 + gcc/sese.h | 10 +- gcc/testsuite/ChangeLog | 5 + gcc/testsuite/gcc.dg/graphite/pr45297.c | 9 + 12 files changed, 581 insertions(+), 241 deletions(-) create mode 100644 gcc/testsuite/gcc.dg/graphite/pr45297.c