2014-06-19 Zhenqiang Chen <zhenqiang.chen@linaro.org>
* loop-invariant.c (get_inv_cost): Skip invariants, which are marked
as "move", from depends_on.
From-SVN: r211818
+2014-06-19 Zhenqiang Chen <zhenqiang.chen@linaro.org>
+
+ * loop-invariant.c (get_inv_cost): Skip invariants, which are marked
+ as "move", from depends_on.
+
2014-06-19 Terry Guo <terry.guo@arm.com>
* config/arm/thumb1.md (define_split): Split 64bit constant in earlier
dep = invariants[depno];
+ /* If DEP is moved out of the loop, it is not a depends_on any more. */
+ if (dep->move)
+ continue;
+
get_inv_cost (dep, &acomp_cost, aregs_needed);
if (! flag_ira_loop_pressure)