Commit f408a635 by Richard Biener Committed by Richard Biener

re PR tree-optimization/80844 (OpenMP SIMD doesn't know how to efficiently zero…

re PR tree-optimization/80844 (OpenMP SIMD doesn't know how to efficiently zero a vector (its stores zeros and reloads))

2017-05-26  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/80844
	* tree-vectorizer.c (adjust_simduid_builtins): Propagate
	results.

From-SVN: r248481
parent 1f06dc95
2017-05-26 Richard Biener <rguenther@suse.de>
PR tree-optimization/80844
* tree-vectorizer.c (adjust_simduid_builtins): Propagate
results.
2017-05-25 Sebastian Peryt <sebastian.peryt@intel.com>
* doc/md.texi (Machine Constraints): Update x86 family
......
......@@ -229,8 +229,11 @@ adjust_simduid_builtins (hash_table<simduid_to_vf> *htab)
default:
gcc_unreachable ();
}
update_call_from_tree (&i, t);
gsi_next (&i);
tree lhs = gimple_call_lhs (stmt);
if (lhs)
replace_uses_by (lhs, t);
release_defs (stmt);
gsi_remove (&i, true);
}
}
}
......
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