loop.c (check_dbra_loop): Try swapping the comparison operands of the loop condition...
authorRoger Sayle <roger@eyesopen.com>
Sun, 9 Nov 2003 14:33:20 +0000 (14:33 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sun, 9 Nov 2003 14:33:20 +0000 (14:33 +0000)
commitce4191eed16e15397cc09bba95d8ef603ba05359
treec993edb42c75d10e8adc5feee8d68fa2f583bc7e
parent8b93ca2dd22f8e6d2c3a5ab70d5d79c6ee6b665a
loop.c (check_dbra_loop): Try swapping the comparison operands of the loop condition to identify a...

* loop.c (check_dbra_loop): Try swapping the comparison operands
of the loop condition to identify a suitable induction variable.
* unroll.c (loop_iterations): Likewise.

From-SVN: r73391
gcc/ChangeLog
gcc/loop.c
gcc/unroll.c