Commit a1e71b01 by Bin Cheng Committed by Bin Cheng

tree-ssa-loop-ivopts.c (get_computation_cost_at): Check inv expression pointer,…

tree-ssa-loop-ivopts.c (get_computation_cost_at): Check inv expression pointer, not pointer to the pointer.

	* tree-ssa-loop-ivopts.c (get_computation_cost_at): Check inv
	expression pointer, not pointer to the pointer.

From-SVN: r236371
parent 83a5c910
2016-05-18 Bin Cheng <bin.cheng@arm.com>
* tree-ssa-loop-ivopts.c (get_computation_cost_at): Check invariant
expression pointer, not pointer to the pointer.
2016-05-18 Jakub Jelinek <jakub@redhat.com>
* config/i386/sse.md (pbroadcast_evex_isa): New mode attr.
......
......@@ -4874,7 +4874,7 @@ get_computation_cost_at (struct ivopts_data *data,
*inv_expr = get_loop_invariant_expr (data, ubase, cbase, ratio,
address_p);
/* Clear depends on. */
if (inv_expr != NULL)
if (*inv_expr != NULL)
bitmap_clear (*depends_on);
}
......
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