Commit 4583fada by Teresa Johnson Committed by Teresa Johnson

tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.

2014-01-15  Teresa Johnson  <tejohnson@google.com>

	* tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.

From-SVN: r206646
parent 67bf2939
2014-01-15 Teresa Johnson <tejohnson@google.com>
* tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
* config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
......
......@@ -2792,7 +2792,7 @@ visit_reference_op_call (tree lhs, gimple stmt)
if (vnresult)
{
if (vnresult->result_vdef)
if (vnresult->result_vdef && vdef)
changed |= set_ssa_val_to (vdef, vnresult->result_vdef);
if (!vnresult->result && lhs)
......
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