From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3621 invoked by alias); 2 Oct 2008 22:51:32 -0000 Received: (qmail 2658 invoked by alias); 2 Oct 2008 22:50:09 -0000 Date: Thu, 02 Oct 2008 22:51:00 -0000 Message-ID: <20081002225009.2657.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/37485] [graphite] Disconnecting exit edge in process of code generation In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "spop at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg00211.txt.bz2 ------- Comment #10 from spop at gcc dot gnu dot org 2008-10-02 22:50 ------- Subject: Bug 37485 Author: spop Date: Thu Oct 2 22:48:46 2008 New Revision: 140844 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140844 Log: 2008-10-02 Jan Sjodin Harsha Jagasia PR tree-optimization/37485 * gcc.dg/graphite/block-2.c: New * graphite.c (gmp_cst_to_tree): Moved. (iv_stack_entry_is_constant): New. (iv_stack_entry_is_iv): New. (loop_iv_stack_push): Renamed to loop_iv_stack_push_iv. (loop_iv_stack_insert_constant): New. (loop_iv_stack_pop): Use new datatpype. (loop_iv_stack_get_iv): Same. (loop_iv_stack_get_iv_from_name): Same. (loop_iv_stack_debug): Renamed to debug_loop_iv_stack. (loop_iv_stack_patch_for_consts): New. (loop_iv_stack_remove_constants): New. (graphite_create_new_loop): Use loop_iv_stack_push_iv. (translate_clast): Call loop_iv_stack_patch_for_consts and loop_iv_stack_remove_constants. (gloog): Use new datatype. Redirect construction edge to end block to avoid accidental deletion. * graphite.h (enum iv_stack_entry_kind): New. Tag for data in iv stack entry. (union iv_stack_entry_data): New. Data in iv stack entry. (struct iv_stack_entry): New. Datatype for iv stack entries. Added: branches/graphite/gcc/testsuite/gcc.dg/graphite/block-2.c Modified: branches/graphite/gcc/ChangeLog.graphite branches/graphite/gcc/graphite.c branches/graphite/gcc/graphite.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37485