diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-28 06:34:55 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-28 06:34:55 +0000 |
commit | aaa3ff4c0dd087e7846c99c39e0a7ea009de122e (patch) | |
tree | 89813ab795808911800079fa9ce04037cfed2baa /gcc/tree-ssa-dom.c | |
parent | d8fec1042a0324b660e453112d92e9a6b5773e0c (diff) | |
download | gcc-aaa3ff4c0dd087e7846c99c39e0a7ea009de122e.tar.gz |
* tree-ssa-dom.c (thread_across_edge): Remove broken code to
avoid threading into a loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92666 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-dom.c')
-rw-r--r-- | gcc/tree-ssa-dom.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/tree-ssa-dom.c b/gcc/tree-ssa-dom.c index 81fdb0e8652..67446b1432f 100644 --- a/gcc/tree-ssa-dom.c +++ b/gcc/tree-ssa-dom.c @@ -686,22 +686,6 @@ thread_across_edge (struct dom_walk_data *walk_data, edge e) || TREE_CODE (stmt) == SWITCH_EXPR)) { tree cond, cached_lhs; - edge e1; - edge_iterator ei; - - /* Do not forward entry edges into the loop. In the case loop - has multiple entry edges we may end up in constructing irreducible - region. - ??? We may consider forwarding the edges in the case all incoming - edges forward to the same destination block. */ - if (!e->flags & EDGE_DFS_BACK) - { - FOR_EACH_EDGE (e1, ei, e->dest->preds) - if (e1->flags & EDGE_DFS_BACK) - break; - if (e1) - return; - } /* Now temporarily cprop the operands and try to find the resulting expression in the hash tables. */ |