From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72867 invoked by alias); 1 Dec 2015 09:07:59 -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 72836 invoked by uid 89); 1 Dec 2015 09:07:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Dec 2015 09:07:57 +0000 Received: from svr-orw-fem-03.mgc.mentorg.com ([147.34.97.39]) by relay1.mentorg.com with esmtp id 1a3guf-0006s7-MC from Thomas_Schwinge@mentor.com for gcc-patches@gcc.gnu.org; Tue, 01 Dec 2015 01:07:53 -0800 Received: from tftp-cs (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.3.224.2; Tue, 1 Dec 2015 01:07:53 -0800 Received: by tftp-cs (Postfix, from userid 49978) id BC1EAC240A; Tue, 1 Dec 2015 01:07:52 -0800 (PST) From: Thomas Schwinge To: Nathan Sidwell , GCC Patches Subject: Re: [gomp] Move openacc vector& worker single handling to RTL In-Reply-To: <559F10F2.9050102@acm.org> References: <5597120D.2080308@acm.org> <20150703231159.GP10247@tucnak.redhat.com> <559844EF.6010208@acm.org> <559AD85B.2050102@acm.org> <20150707095408.GD10247@tucnak.redhat.com> <559BDE68.9010302@acm.org> <20150707142229.GG10247@tucnak.redhat.com> <559D381C.7020804@acm.org> <20150708145822.GB10247@tucnak.redhat.com> <559D9A29.2020409@acm.org> <559F10F2.9050102@acm.org> User-Agent: Notmuch/0.9-125-g4686d11 (http://notmuchmail.org) Emacs/24.5.1 (i586-pc-linux-gnu) Date: Tue, 01 Dec 2015 09:07:00 -0000 Message-ID: <87d1uqo7tr.fsf@kepler.schwinge.homeip.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-SW-Source: 2015-12/txt/msg00049.txt.bz2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 3264 Hi! On Thu, 09 Jul 2015 20:25:22 -0400, Nathan Sidwell wrote: > This is the patch I committed. [...] > 2015-07-09 Nathan Sidwell > * omp-low.c (omp_region): [...] > (enclosing_target_region, required_predication_mask, > generate_vector_broadcast, generate_oacc_broadcast, > make_predication_test, predicate_bb, find_predicatable_bbs, > predicate_omp_regions): Delete. > [...] This removed all usage of bb_region_map. Now cleaned up in gomp-4_0-branch r231102: commit ff7e1eb4e855aa16d14ae047172269bc7192a069 Author: tschwinge Date: Tue Dec 1 09:04:33 2015 +0000 gcc/omp-low.c: Remove bb_region_map =20=20=20=20 gcc/ * omp-low.c (bb_region_map): Remove. Adjust all users. =20=20=20=20 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@2311= 02 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog.gomp | 4 ++++ gcc/omp-low.c | 42 +++++++++++++++++------------------------- 2 files changed, 21 insertions(+), 25 deletions(-) diff --git gcc/ChangeLog.gomp gcc/ChangeLog.gomp index 0e4f371..4842164 100644 --- gcc/ChangeLog.gomp +++ gcc/ChangeLog.gomp @@ -1,3 +1,7 @@ +2015-12-01 Thomas Schwinge + + * omp-low.c (bb_region_map): Remove. Adjust all users. + 2015-11-30 Cesar Philippidis =20 * tree-nested.c (convert_nonlocal_omp_clauses): Handle optional diff --git gcc/omp-low.c gcc/omp-low.c index 1b52f6b..a1e7a14 100644 --- gcc/omp-low.c +++ gcc/omp-low.c @@ -13356,9 +13356,6 @@ expand_omp (struct omp_region *region) } } =20 -/* Map each basic block to an omp_region. */ -static hash_map *bb_region_map; - static void find_omp_for_region_data (struct omp_region *region, gomp_for *stmt) { @@ -13394,8 +13391,6 @@ build_omp_regions_1 (basic_block bb, struct omp_reg= ion *parent, gimple *stmt; basic_block son; =20 - bb_region_map->put (bb, parent); - gsi =3D gsi_last_bb (bb); if (!gsi_end_p (gsi) && is_gimple_omp (gsi_stmt (gsi))) { @@ -13536,31 +13531,28 @@ build_omp_regions (void) static unsigned int execute_expand_omp (void) { - bb_region_map =3D new hash_map; - build_omp_regions (); =20 - if (root_omp_region) + if (!root_omp_region) + return 0; + + if (dump_file) { - if (dump_file) - { - fprintf (dump_file, "\nOMP region tree\n\n"); - dump_omp_region (dump_file, root_omp_region, 0); - fprintf (dump_file, "\n"); - } - - remove_exit_barriers (root_omp_region); - - expand_omp (root_omp_region); - - if (flag_checking && !loops_state_satisfies_p (LOOPS_NEED_FIXUP)) - verify_loop_structure (); - cleanup_tree_cfg (); - - free_omp_regions (); + fprintf (dump_file, "\nOMP region tree\n\n"); + dump_omp_region (dump_file, root_omp_region, 0); + fprintf (dump_file, "\n"); } =20 - delete bb_region_map; + remove_exit_barriers (root_omp_region); + + expand_omp (root_omp_region); + + if (flag_checking && !loops_state_satisfies_p (LOOPS_NEED_FIXUP)) + verify_loop_structure (); + cleanup_tree_cfg (); + + free_omp_regions (); + return 0; } =20 Gr=C3=BC=C3=9Fe Thomas --=-=-= Content-Type: application/pgp-signature; name="signature.asc" Content-length: 472 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJWXWNgAAoJEK3/DN1sMFFtz6QIAIgofDHihfNYaJR0pJ4wLAwS YhPJImrEEdNHe3jcOP4/nyK9FZvYrWF3qgLNHyhnxRKy04/bt43Gwo5/1TT1x+EF HLEtqrR6QPA03PlHSuM0H7lMAW+eQp+COSXiOlhDbbPG+o+1EuJdTDGuApucReJo ZOJBQukGckv7DMeq2hSjvc7ZAhlDZMBImoVdLJeNHmLRFOcSeU0MF1YQJJPbjYzl BDh+mCYMlCFH7pJrx/Ynboa5+sGI+4iNs1CK12fyhvZGolGkpQfQubFoIm5iiDlK mc9/S+h/XCvAM/nwnKTveem297tlRguUFVD2LXVTvP/DKDrnSoecK0R/rjdMZBg= =gnKt -----END PGP SIGNATURE----- --=-=-=--