* tree-ssa-loop-ivopts.c (get_shiftadd_cost): Strip
unnecessary type conversion in op1.
From-SVN: r227776
+2015-09-15 Bin Cheng <bin.cheng@arm.com>
+
+ * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Strip
+ unnecessary type conversion in op1.
+
2015-09-14 Segher Boessenkool <segher@kernel.crashing.org>
* shrink-wrap.c (requires_stack_frame_p): Fix formatting.
if (!(m >= 0 && m < maxm))
return false;
+ STRIP_NOPS (op1);
mult_in_op1 = operand_equal_p (op1, mult, 0);
as_cost = add_cost (speed, mode) + shift_cost (speed, mode, m);