This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, The problem is that even though expand knows how to expand VEC_COND<a, b, c> when there is no vcond_mask pattern, expand_vec_cond_expr_p returns false. So this patch allows expand_vec_cond_expr_p to try the next part of the function if there is no vcond_mask pattern. OK? Bootstrapped and tested on aarch64-linux-gnu with no regressions. Thanks, Andrew Pinski ChangeLog: * optabs-tree.c (expand_vec_cond_expr_p): Don't early return if get_vcond_mask_icode returns false. Testsuite/ChangeLog: * gcc.c-torture/compile/20160205-1.c: New testcase.
Attachment:
pr69282.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |