summaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-15 16:38:14 +0000
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-15 16:38:14 +0000
commit087903dbec58dec32f6179226ade4fb9a78ebcc8 (patch)
tree12318ab6ab78d9fd0332f5306fb9421094d5d790 /gcc/combine.c
parent4c0c783af9df2dc3b2d9b2f1d72d949a5f0e0f20 (diff)
downloadgcc-087903dbec58dec32f6179226ade4fb9a78ebcc8.tar.gz
ChangeLog:
* tree-vect-patterns.c (widened_name_p): Rename to ... (type_conversion_p): ... this. Add new argument to determine if it's a promotion or demotion operation. Check for CONVERT_EXPR_CODE_P instead of NOP_EXPR. (vect_recog_dot_prod_pattern): Call type_conversion_p instead widened_name_p. (vect_recog_widen_mult_pattern, vect_recog_widen_sum_pattern, vect_operation_fits_smaller_type, vect_recog_widen_shift_pattern): Likewise. (vect_recog_mixed_size_cond_pattern): Likewise and allow non-constant then and else clauses. testsuite/ChangeLog: * gcc.dg/vect/slp-cond-3.c: New test. * gcc.dg/vect/slp-cond-4.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185437 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions