Commit 595ffc07 by Richard Biener Committed by Richard Biener

re PR tree-optimization/88828 (Inefficient update of the first element of vector registers)

2019-05-15  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/88828
	* tree-ssa-forwprop.c (simplify_vector_constructor): Fix
	bogus check.

From-SVN: r271204
parent 90554985
2019-05-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/88828
* tree-ssa-forwprop.c (simplify_vector_constructor): Fix
bogus check.
2019-05-14 Richard Biener <rguenther@suse.de>
* tree-pretty-print.c (dump_generic_node): Dump VIEW_CONVERT_EXPR
......
......@@ -2102,7 +2102,7 @@ simplify_vector_constructor (gimple_stmt_iterator *gsi)
break;
}
/* Found a suitable vector element. */
if (j <= 2)
if (j < 2)
{
orig[j] = ref;
if (j)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment