From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4561 invoked by alias); 1 Nov 2013 19:17:42 -0000 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 Received: (qmail 4547 invoked by uid 89); 1 Nov 2013 19:17:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f178.google.com Received: from mail-ie0-f178.google.com (HELO mail-ie0-f178.google.com) (209.85.223.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 01 Nov 2013 19:17:41 +0000 Received: by mail-ie0-f178.google.com with SMTP id x13so8169478ief.37 for ; Fri, 01 Nov 2013 12:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=WksHiCpvp0pPtAv8PFtKlw1P9HEh48HDsHHNLSTUcdI=; b=YSgneQvG2EK3UJUYIMk3u7xcNjrEXBzlpUMKumSgZnsYnJWVORs7RyyKhrY9Fe5Cza fDJfH6bRL6QNzP5m4Wyy6eF8vKSrxOeHeKBHKoECH3/wST8X4ssyghprSXNskGyorjs+ z27EKGsRW+Rb4sda+lYGJWeTqBumvex6anbtMbdwbBzHnojKB3+BDSgB0dgLpHXxHQ1D Kc82HkLA+9rnpIPTeRKCPKcQfae87oobToMkj8jFfB+YYwjk748z1vIPtAnCHXdau6cT Gd3omLd6vNbqBgBhKMh4OeV8UtWhqllpjXpazXsVD9McitokuF3CUhD4m//Q647pI5Qb Ww8Q== X-Gm-Message-State: ALoCoQkOGhR4ktK4hGFnovIKFaOPllJL+jMkUIsLHx8yKQdSsRqfXqxKREWn04QAOxSMSKo430m8JuTm79mmBY9TXr7SxKVPqlhboTlUFJP58CnhYP0SQhWOlFx8Q8pn4BKDgk9aEyhqV1X8zmVWl+eUk/BRu6L8qT3b5oSZLYMlBPQAobNPTjkiQtq45Ow1B4qcAfJ7t3PP+mqdnA5mej6WRDU0kWifWQ== MIME-Version: 1.0 X-Received: by 10.50.129.39 with SMTP id nt7mr3464840igb.13.1383333459305; Fri, 01 Nov 2013 12:17:39 -0700 (PDT) Received: by 10.64.25.18 with HTTP; Fri, 1 Nov 2013 12:17:39 -0700 (PDT) In-Reply-To: <1383263300-10532-1-git-send-email-tsaunders@mozilla.com> References: <1383263300-10532-1-git-send-email-tsaunders@mozilla.com> Date: Fri, 01 Nov 2013 19:17:00 -0000 Message-ID: Subject: Re: [PATCH] use stack vectors more From: Diego Novillo To: tsaunders@mozilla.com Cc: gcc-patches Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00039.txt.bz2 On Thu, Oct 31, 2013 at 7:48 PM, wrote: > From: Trevor Saunders > > Hi, > > This patch is pretty dull, it just replaces a bunch of things of the form > vec x; > x.create (N); // N is a constant > blah blah > x.release (); > by > stack_vec x; > blah blah > > Of course its even nicer than that in some of the cases with many early returns. > > bootstrapped and same test results as r204192 on x86_64-unknown-linux-gnu, ok? > > Trev > > 2013-09-28 Trevor Saunders > > cp/ > * semantics.c (build_anon_member_initialization): Convert fields to be > a stack_vec. > > gcc/ > * function.c (reorder_blocks): Convert block_stack to a stack_vec. > * gimplify.c (gimplify_compound_lval): Likewise. > * graphite-clast-to-gimple.c (gloog): Likewise. > * graphite-dependences.c (loop_is_parallel_p): Likewise. > * graphite-scop-detection.c (scopdet_basic_block_info): Likewise. > (limit_scop); Likewise. > (build_scops): Likewise. > (dot_scop): Likewise. > * graphite-sese-to-poly.c (sese_dom_walker): Likewise. > (build_scop_drs): Likewise. > (insert_stmts): Likewise. > (insert_out_of_ssa_copy): Likewise. > (remove_phi): Likewise. > (rewrite_commutative_reductions_out_of_ssa_close_phi): Likewise. > * hw-doloop.c (discover_loop): Likewise. > * tree-call-cdce.c (shrink_wrap_one_built_in_call): Likewise. > * tree-dfa.c (dump_enumerated_decls): Likewise. > * tree-if-conv.c (if_convertable_loop_p): Likewise. > * tree-inline.c (tree_function_versioning): Likewise. > * tree-loop-distribution.c (build_rdg): Likewise. > (rdg_flag_vertex_and_dependent): Likewise. > (distribute_loop): Likewise. > * tree-parloops.c (loop_parallel_p): Likewise. > (eliminate_local_variables): Likewise. > (separate_decls_in_region): Likewise. > * tree-predcom.c (tree_predictive_commoning_loop): Likewise. > * tree-ssa-phiopt.c (cond_if_else_store_replacement): Likewise. > * tree-ssa-uncprop.c (uncprop_dom_walker): Likewise. > * tree-vect-loop.c (vect_analyze_scaler_cycles_1): Likewise. > * tree-vect-patterns.c (vect_pattern_recog): Likewise. > * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Likewise. > (vectorizable_condition): Likewise. The patch is OK, but it did not completely apply in my tree. Mind sending an updated version (or point me at a git repo I can pull it from). Thanks. Diego.