re PR target/70021 (Test miscompiled with -O3 option for -march=core-avx2.)
PR target/70021 * tree-vect-stmts.c (vect_mark_relevant): Remove USED_IN_PATTERN argument, if STMT_VINFO_IN_PATTERN_P (stmt_info), always mark the pattern no matter if it is used just by non-pattern, pattern or mix thereof. (process_use, vect_mark_stmts_to_be_vectorized): Adjust callers. * tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If oprnd1 def_stmt is in pattern, don't look through it. * gcc.dg/vect/pr70021.c: New test. * gcc.target/i386/pr70021.c: New test. From-SVN: r233940
Showing
gcc/testsuite/gcc.dg/vect/pr70021.c
0 → 100644
gcc/testsuite/gcc.target/i386/pr70021.c
0 → 100644
Please
register
or
sign in
to comment