Commit 41098a37 by Richard Biener Committed by Richard Biener

re PR tree-optimization/92460 (ICE: verify_ssa failed (error: definition in…

re PR tree-optimization/92460 (ICE: verify_ssa failed (error: definition in block 13 does not dominate use in block 22))

2019-11-12  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/92460
	* tree-vect-stmts.c (vectorizable_simd_clone_call): Unshare
	expression before gimplifying.

From-SVN: r278094
parent 830d1b18
2019-11-12 Richard Biener <rguenther@suse.de> 2019-11-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/92460
* tree-vect-stmts.c (vectorizable_simd_clone_call): Unshare
expression before gimplifying.
2019-11-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/92461 PR tree-optimization/92461
* tree-vect-loop.c (vect_create_epilog_for_reduction): Update * tree-vect-loop.c (vect_create_epilog_for_reduction): Update
stmt after propagation. stmt after propagation.
...@@ -4246,8 +4246,8 @@ vectorizable_simd_clone_call (stmt_vec_info stmt_info, ...@@ -4246,8 +4246,8 @@ vectorizable_simd_clone_call (stmt_vec_info stmt_info,
{ {
gimple_seq stmts; gimple_seq stmts;
arginfo[i].op arginfo[i].op
= force_gimple_operand (arginfo[i].op, &stmts, true, = force_gimple_operand (unshare_expr (arginfo[i].op),
NULL_TREE); &stmts, true, NULL_TREE);
if (stmts != NULL) if (stmts != NULL)
{ {
basic_block new_bb; basic_block new_bb;
......
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