Call finite_loop_p in RTL to get better finiteness information.
authorKewen Lin <linkw@gcc.gnu.org>
Thu, 27 Jun 2019 05:24:00 +0000 (05:24 +0000)
committerKewen Lin <linkw@gcc.gnu.org>
Thu, 27 Jun 2019 05:24:00 +0000 (05:24 +0000)
commitce3ad45c3cbe51fe95936c7676a1fa2cb4f30c1c
tree077539d005e5d079a641204c6df92dab25626d03
parent08c1638dab9becfafc65064891c1c59f5711c27f
Call finite_loop_p in RTL to get better finiteness information.

gcc/ChangeLog

2019-06-27  Kewen Lin  <linkw@gcc.gnu.org>

    PR target/62147
    * gcc/loop-iv.c (find_simple_exit): Call finite_loop_p to update finiteness.

gcc/testsuite/ChangeLog

2019-06-27  Kewen Lin  <linkw@gcc.gnu.org>

    PR target/62147
    * gcc.target/powerpc/pr62147.c: New test.

From-SVN: r272731
gcc/ChangeLog
gcc/loop-iv.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr62147.c [new file with mode: 0644]