From: Zdenek Dvorak <rakdver@kam.mff.cuni.cz>
To: Razya Ladelsky <RAZYA@il.ibm.com>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] cleanups for reduction code (autopar pass)
Date: Thu, 06 Dec 2007 23:20:00 -0000 [thread overview]
Message-ID: <20071206232030.GB32101@kam.mff.cuni.cz> (raw)
In-Reply-To: <OF959F7D4A.CCC5D713-ONC2257392.003DDD36-C2257392.0040AF01@il.ibm.com>
Hi,
> htab_traverse (reduction_list, create_call_for_reduction_1, ld_st_data);
> }
>
> ! /* Callback for htab_traverse. Loads the final reduction value at the
> ! join point of all threads , and inserts it in the right place. */
>
> static int
> create_loads_for_reductions (void **slot, void *data)
remove the space before commam
> --- 988,994 ----
> build_gimple_modify_stmt (build3
> (COMPONENT_REF, type, clsn_data->store,
> red->field, NULL_TREE),
> ! red->initial_value );
> mark_virtual_ops_for_renaming (stmt);
> bsi_insert_after (&bsi, stmt, BSI_NEW_STMT);
and the one before )
> *************** separate_decls_in_loop (struct loop *loo
> *** 1168,1175 ****
> htab_traverse (name_copies, create_loads_and_stores_for_name,
> ld_st_data);
>
> ! /* Load the calculation from memory into a new
> ! reduction variable (after the join of the threads). */
> if (htab_elements (reduction_list) > 0)
> {
> htab_traverse (reduction_list, create_stores_for_reduction,
> --- 1135,1142 ----
> htab_traverse (name_copies, create_loads_and_stores_for_name,
> ld_st_data);
>
> ! /* Load the calculation from memory
> ! (after the join of the threads). */
> if (htab_elements (reduction_list) > 0)
Don't wrap the line in the comment.
Otherwise OK.
Zdenek
next prev parent reply other threads:[~2007-12-06 23:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 13:53 Razya Ladelsky
2007-12-06 23:20 ` Zdenek Dvorak [this message]
[not found] <OF959F7D4A.CCC5D713-ONC2257392.003DDD36-C2257392.0040AE25@LocalDomain>
2007-12-03 11:19 ` Razya Ladelsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071206232030.GB32101@kam.mff.cuni.cz \
--to=rakdver@kam.mff.cuni.cz \
--cc=RAZYA@il.ibm.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).