testsuite: Fix regression on m32 by r12-6087 [PR103820]
authorXionghu Luo <luoxhu@linux.ibm.com>
Tue, 11 Jan 2022 02:05:56 +0000 (20:05 -0600)
committerXionghu Luo <luoxhu@linux.ibm.com>
Tue, 11 Jan 2022 08:23:36 +0000 (02:23 -0600)
commit0552605b7b27dc6beed62e71bd05bc1efd191c0d
treea5975192b3427ca702db20047a9fb4e5e9785710
parent2e1116c5f5af7166c9689b5421f607b814778de7
testsuite: Fix regression on m32 by r12-6087 [PR103820]

r12-6087 will avoid move cold bb out of hot loop, while the original
intent of this testcase is to hoist divides out of loop and CSE them to
only one divide.  So increase the loop count to turn the cold bb to hot
bb again.  Then the 3 divides could be rewritten with same reciptmp.

Tested pass on Power-Linux {32,64}, x86 {64,32} and i686-linux.

gcc/testsuite/ChangeLog:

PR testsuite/103820
* gcc.dg/tree-ssa/recip-3.c: Adjust.
gcc/testsuite/gcc.dg/tree-ssa/recip-3.c