This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH testsuite]Require vect_cond_mixed for test case gcc.dg/vect/pr56541.c
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Bin Cheng <Bin dot Cheng at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>
- Date: Thu, 11 Aug 2016 11:50:14 +0200
- Subject: Re: [PATCH testsuite]Require vect_cond_mixed for test case gcc.dg/vect/pr56541.c
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0802MB2176B20EE50D236295E1BD2CE71D0@VI1PR0802MB2176.eurprd08.prod.outlook.com>
On Wed, Aug 10, 2016 at 5:58 PM, Bin Cheng <Bin.Cheng@arm.com> wrote:
> Hi,
> Due to some reasons, tree-if-conv.c now factors floating point comparison out of cond_expr,
> resulting in mixed types in it. This does help CSE on common comparison operations.
> Only problem is that test gcc.dg/vect/pr56541.c now requires vect_cond_mixed to be
> vectorized. This patch changes the test in that way.
> Test result checked. Is it OK?
Hmm, I think the fix is to fix if-conversion not doing that. Can you
track down why this happens?
Richard.
> Thanks,
> bin
>
> gcc/testsuite/ChangeLog
> 2016-08-09 Bin Cheng <bin.cheng@arm.com>
>
> * gcc.dg/vect/pr56541.c: Require vect_cond_mixed.