Hi, This patch refactors force_expr_to_var_cost and handles type conversion along with other tree nodes. It is split from the patch posted at http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00546.html Bootstrap and test with the patch lowering address expressions on x86/x86_64/arm. Is it OK?
Thanks, bin 2013-11-08 Bin Cheng <bin.ch...@arm.com> * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Refactor the code. Handle type conversion.