re PR tree-optimization/90610 (526.blender_r miscompared on znver1 with -Ofast -march=native since r271463)

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

	PR middle-end/90610
	* match.pd (vec_perm): Avoid clobbering op0 when not generating
	a bit-insert.

From-SVN: r271652
This commit is contained in:
Richard Biener 2019-05-27 10:52:14 +00:00 committed by Richard Biener
parent 3016ec8a61
commit 00e7f01dc4
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2019-05-27 Richard Biener <rguenther@suse.de>
PR middle-end/90610
* match.pd (vec_perm): Avoid clobbering op0 when not generating
a bit-insert.
2019-05-26 Uroš Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (@leave_<mode>): New expander.

View File

@ -5453,8 +5453,8 @@ DEFINE_INT_AND_FLOAT_ROUND_FN (RINT)
first vector we only can insert the first elt from
the first vector. */
at = 0;
ins = fold_read_from_vector (cop0, 0);
op0 = op1;
if ((ins = fold_read_from_vector (cop0, 0)))
op0 = op1;
}
else
{