Revert:
authorJoseph Myers <joseph@codesourcery.com>
Fri, 2 Dec 2011 16:54:27 +0000 (16:54 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 2 Dec 2011 16:54:27 +0000 (16:54 +0000)
commit5f2e30efbeb6f361e414de35e7ae9ec5165ff009
tree20d093eb4b91c136b0ac7c9be852a2dab1f0d03c
parentce8d58a2d98f1b3b8271c984ec4d4612c8684672
Revert:

2008-09-18  Andrew Pinski  <andrew_pinski@playstation.sony.com>

PR rtl-opt/37451
* loop-doloop.c (doloop_modify): New argument zero_extend_p and
zero extend count after the correction to it is done.
(doloop_optimize): Update call to doloop_modify, don't zero extend
count before call.

2008-11-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

PR rtl-opt/37782
* loop-doloop.c (doloop_modify): Add from_mode argument that says what
mode count is in.
(doloop_optimize): Update call to doloop_modify.

testsuite:
* gcc.c-torture/execute/doloop-1.c,
gcc.c-torture/execute/doloop-2.c: New tests.

From-SVN: r181929
gcc/ChangeLog
gcc/loop-doloop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/doloop-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/doloop-2.c [new file with mode: 0644]