Revert:
commit941f640becb08a38a7e15bc345a9803ba593c535
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2011 16:54:27 +0000 (2 16:54 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Dec 2011 16:54:27 +0000 (2 16:54 +0000)
tree20d093eb4b91c136b0ac7c9be852a2dab1f0d03c
parent1f2987d00e0a69b2357f204a4db1914a49b1cf2b
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181929 138bc75d-0d04-0410-961f-82ee72b054a4
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]