Commit 27114460 by Richard Henderson Committed by Jeff Law

* loop.c (insert_loop_mem): Ignore memory clobbers.

From-SVN: r30973
parent 4cbfbb1b
...@@ -6,6 +6,8 @@ Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz> ...@@ -6,6 +6,8 @@ Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com) Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
* loop.c (insert_loop_mem): Ignore memory clobbers.
* combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0) * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
to (OP A B). to (OP A B).
......
...@@ -9643,6 +9643,10 @@ insert_loop_mem (mem, data) ...@@ -9643,6 +9643,10 @@ insert_loop_mem (mem, data)
case MEM: case MEM:
break; break;
case CLOBBER:
/* We're not interested in MEMs that are only clobbered. */
return -1;
case CONST_DOUBLE: case CONST_DOUBLE:
/* We're not interested in the MEM associated with a /* We're not interested in the MEM associated with a
CONST_DOUBLE, so there's no need to traverse into this. */ CONST_DOUBLE, so there's no need to traverse into this. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment