* tree-ssa-loop-ivopts.c (get_computation_cost_at): Check inv
expression pointer, not pointer to the pointer.
From-SVN: r236371
+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.
*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);
}