Re: [PATCH] testsuite: Adjust possibly fragile slp-perm-9.c [PR104015]

2022-01-18 Thread Kewen.Lin via Gcc-patches
on 2022/1/19 上午5:34, Segher Boessenkool wrote: > On Tue, Jan 18, 2022 at 11:57:32AM +, Richard Sandiford wrote: >> "Kewen.Lin" writes: PR tree-optimization/104015 * gcc.dg/vect/slp-perm-9.c: Adjust. * gcc.target/powerpc/pr104015-1.c: New test. * gcc.target/power

Re: [PATCH] testsuite: Adjust possibly fragile slp-perm-9.c [PR104015]

2022-01-18 Thread Segher Boessenkool
On Tue, Jan 18, 2022 at 11:57:32AM +, Richard Sandiford wrote: > "Kewen.Lin" writes: > >>PR tree-optimization/104015 > >>* gcc.dg/vect/slp-perm-9.c: Adjust. > >>* gcc.target/powerpc/pr104015-1.c: New test. > >>* gcc.target/powerpc/pr104015-2.c: New test. > OK for the target-in

Re: [PATCH] testsuite: Adjust possibly fragile slp-perm-9.c [PR104015]

2022-01-18 Thread Richard Sandiford via Gcc-patches
"Kewen.Lin" writes: > on 2022/1/18 锟斤拷锟斤拷11:06, Kewen.Lin via Gcc-patches wrote: >> Hi, >> >> As discussed in PR104015, the test case slp-perm-9.c can be >> fragile when vectorizer tries to use different vectorisation >> strategies. >> >> As Richard suggested, this patch tries to make the check

Re: [PATCH] testsuite: Adjust possibly fragile slp-perm-9.c [PR104015]

2022-01-18 Thread Kewen.Lin via Gcc-patches
on 2022/1/18 上午11:06, Kewen.Lin via Gcc-patches wrote: > Hi, > > As discussed in PR104015, the test case slp-perm-9.c can be > fragile when vectorizer tries to use different vectorisation > strategies. > > As Richard suggested, this patch tries to make the check not > sensitive on the re-trying t

[PATCH] testsuite: Adjust possibly fragile slp-perm-9.c [PR104015]

2022-01-17 Thread Kewen.Lin via Gcc-patches
Hi, As discussed in PR104015, the test case slp-perm-9.c can be fragile when vectorizer tries to use different vectorisation strategies. As Richard suggested, this patch tries to make the check not sensitive on the re-trying times by removing the times checking. To still retain the test coverage