diff options
author | Ira Rosen <irar@il.ibm.com> | 2007-10-22 12:05:36 +0000 |
---|---|---|
committer | Ira Rosen <irar@gcc.gnu.org> | 2007-10-22 12:05:36 +0000 |
commit | 174f8765a8a7198d4d3b05b476ed9ffa40c86cda (patch) | |
tree | 3925db340293586773afd38f0f51719020b11346 /gcc/tree-vect-analyze.c | |
parent | 9ad5e54f9548cfdd2fbed30d11fc82fd9f4bdd6e (diff) | |
download | gcc-174f8765a8a7198d4d3b05b476ed9ffa40c86cda.zip gcc-174f8765a8a7198d4d3b05b476ed9ffa40c86cda.tar.gz gcc-174f8765a8a7198d4d3b05b476ed9ffa40c86cda.tar.bz2 |
re PR tree-optimization/33854 (ICE in vectorizable_conversion, at tree-vect-transform.c:3374)
PR tree-optimization/33854
* tree-vect-analyze.c (vect_determine_vectorization_factor): Add
FLOAT_EXPR to the list of promotion operations.
From-SVN: r129549
Diffstat (limited to 'gcc/tree-vect-analyze.c')
-rw-r--r-- | gcc/tree-vect-analyze.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-vect-analyze.c b/gcc/tree-vect-analyze.c index 7825aab..04257af 100644 --- a/gcc/tree-vect-analyze.c +++ b/gcc/tree-vect-analyze.c @@ -242,7 +242,8 @@ vect_determine_vectorization_factor (loop_vec_info loop_vinfo) operation = GIMPLE_STMT_OPERAND (stmt, 1); if (TREE_CODE (operation) == NOP_EXPR || TREE_CODE (operation) == CONVERT_EXPR - || TREE_CODE (operation) == WIDEN_MULT_EXPR) + || TREE_CODE (operation) == WIDEN_MULT_EXPR + || TREE_CODE (operation) == FLOAT_EXPR) { tree rhs_type = TREE_TYPE (TREE_OPERAND (operation, 0)); if (TREE_INT_CST_LOW (TYPE_SIZE_UNIT (rhs_type)) < |