diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-20 01:41:36 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-20 01:41:36 +0000 |
commit | 1b83778e6779c3acc3ef62cc5d5e2ab61dc5a68c (patch) | |
tree | 546aad84eb28d9a7b1322dc72c424f960433091e | |
parent | 69c149d18cabfb3042b30fc12df8502680786d6e (diff) | |
download | gcc-1b83778e6779c3acc3ef62cc5d5e2ab61dc5a68c.tar.gz |
* tree-ssa-threadupdate.c: Fix trailing whitespace.
* tree-ssa-threadupdate.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205072 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-threadupdate.c | 16 | ||||
-rw-r--r-- | gcc/tree-ssa-threadupdate.h | 2 |
3 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5467c8fffe9..01bef34d798 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-11-19 Jeff Law <law@redhat.com> + + * tree-ssa-threadupdate.c: Fix trailing whitespace. + * tree-ssa-threadupdate.h: Likewise. + 2013-11-19 Mike Stump <mikestump@comcast.net> * gdbinit.in: Add pmz to print out mpz values. diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index afd7ac43972..1b7c73d6a0a 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -119,7 +119,7 @@ struct redirection_data : typed_free_remove<redirection_data> and wire up its single remaining outgoing edge to the thread path. The other is a joiner block where we leave the control statement - in place, but wire one of the outgoing edges to a thread path. + in place, but wire one of the outgoing edges to a thread path. In theory we could have multiple block duplicates in a jump threading path, but I haven't tried that. @@ -470,7 +470,7 @@ ssa_fix_duplicate_block_edges (struct redirection_data *rd, vec<jump_thread_edge *> *path = THREAD_PATH (e); for (unsigned int count = 0, i = 1; i < path->length (); i++) - { + { /* If we were threading through an joiner block, then we want to keep its control statement and redirect an outgoing edge. Else we want to remove the control statement & edges, then create @@ -549,10 +549,10 @@ ssa_create_duplicates (struct redirection_data **slot, struct redirection_data *rd = *slot; /* The second duplicated block in a jump threading path is specific - to the path. So it gets stored in RD rather than in LOCAL_DATA. + to the path. So it gets stored in RD rather than in LOCAL_DATA. Each time we're called, we have to look through the path and see - if a second block needs to be duplicated. + if a second block needs to be duplicated. Note the search starts with the third edge on the path. The first edge is the incoming edge, the second edge always has its source @@ -567,7 +567,7 @@ ssa_create_duplicates (struct redirection_data **slot, break; } } - + /* Create a template block if we have not done so already. Otherwise use the template to create a new block. */ if (local_info->template_block == NULL) @@ -732,7 +732,7 @@ redirection_block_p (basic_block bb) the appropriate duplicate of BB. If NOLOOP_ONLY is true, we only perform the threading as long as it - does not affect the structure of the loops in a nontrivial way. + does not affect the structure of the loops in a nontrivial way. If JOINERS is true, then thread through joiner blocks as well. */ @@ -892,7 +892,7 @@ thread_block_1 (basic_block bb, bool noloop_only, bool joiners) By doing things this way we can be as aggressive as possible and not worry that copying a joiner block will create a jump threading opportunity. */ - + static bool thread_block (basic_block bb, bool noloop_only) { @@ -1591,7 +1591,7 @@ thread_through_all_blocks (bool may_peel_loop_headers) } /* Assume we had a jump thread path which went from the latch to the exit - and a path which goes from outside to inside the same loop. + and a path which goes from outside to inside the same loop. If the latch to exit was handled first, we will thread it and clear loop->header. diff --git a/gcc/tree-ssa-threadupdate.h b/gcc/tree-ssa-threadupdate.h index 4617b9c1d3e..49501705235 100644 --- a/gcc/tree-ssa-threadupdate.h +++ b/gcc/tree-ssa-threadupdate.h @@ -1,5 +1,5 @@ /* Communication between registering jump thread requests and - updating the SSA/CFG for jump threading. + updating the SSA/CFG for jump threading. Copyright (C) 2013 Free Software Foundation, Inc. This file is part of GCC. |