[PATCH GCC]Look into unnecessary conversion when checking mult_op in get_shiftadd_cost
Wed Sep 2 03:50:00 GMT 2015
When calling get_shiftadd_cost, the mult_op is stripped at caller places.
We should look into unnecessary conversion in op1 before checking equality,
otherwise it computes wrong shiftadd cost. This patch picks this small
Bootstrap and test on x86_64 and aarch64 along with other patches. Is it
2015-08-31 Bin Cheng <email@example.com>
* tree-ssa-loop-ivopts.c (get_shiftadd_cost): Look into
unnecessary type conversion for OP1.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Gcc-patches