summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-transform.c
diff options
context:
space:
mode:
authordorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-19 08:46:45 +0000
committerdorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-19 08:46:45 +0000
commit435c10320330151f08321bbbc821a4084cfb7c72 (patch)
tree5db2d0b024834594c5a831e83a077e055f02ce2d /gcc/tree-vect-transform.c
parentec72623f7c8d0a87c87160c3c07e0f607c589b1c (diff)
downloadgcc-435c10320330151f08321bbbc821a4084cfb7c72.tar.gz
PR tree-optimization/30975
* tree-vect-trasnform.c (vect_get_vec_def_for_stmt_copy): Remove wrong assert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122127 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-transform.c')
-rw-r--r--gcc/tree-vect-transform.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c
index 07c077329a3..109705d7e14 100644
--- a/gcc/tree-vect-transform.c
+++ b/gcc/tree-vect-transform.c
@@ -897,8 +897,6 @@ vect_get_vec_def_for_stmt_copy (enum vect_def_type dt, tree vec_oprnd)
vec_stmt_for_operand = SSA_NAME_DEF_STMT (vec_oprnd);
def_stmt_info = vinfo_for_stmt (vec_stmt_for_operand);
- if (dt == vect_induction_def)
- gcc_assert (TREE_CODE (vec_stmt_for_operand) == PHI_NODE);
gcc_assert (def_stmt_info);
vec_stmt_for_operand = STMT_VINFO_RELATED_STMT (def_stmt_info);
gcc_assert (vec_stmt_for_operand);