Commit 9231189b by Brendan Kehoe Committed by Brendan Kehoe

loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not COMPARISON_VAL, into invariant_p.

	* loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
	COMPARISON_VAL, into invariant_p.

From-SVN: r22054
parent f285ef20
1998-08-28 Brendan Kehoe <brendan@cygnus.com>
* loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
COMPARISON_VAL, into invariant_p.
Fri Aug 28 15:13:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* regmove.c (regclass_compatible_p): New function.
......
......@@ -6910,7 +6910,7 @@ check_dbra_loop (loop_end, insn_count, loop_start)
??? If the insns which initialize the comparison value as
a whole compute an invariant result, then we could move
them out of the loop and proceed with loop reversal. */
if (!invariant_p (comparison_val))
if (!invariant_p (comparison_value))
return 0;
if (GET_CODE (comparison_value) == CONST_INT)
......
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