Re: [PATCH] Use lowpart_subreg instead of simplify_gen_subreg

2015-07-27 Thread Jeff Law
On 07/26/2015 02:02 PM, Anatoliy Sokolov wrote: Hello. This patch change function call simplify_gen_subreg (omode, x, imode, subreg_lowpart_offset (omode, imode)) with lowpart_subreg (omode, x, imode) and move lowpart_subreg function from loop-iv.c to simplify-rtx.c. Bootstrapped and reg-tes

[PATCH] Use lowpart_subreg instead of simplify_gen_subreg

2015-07-26 Thread Anatoliy Sokolov
Hello. This patch change function call simplify_gen_subreg (omode, x, imode, subreg_lowpart_offset (omode, imode)) with lowpart_subreg (omode, x, imode) and move lowpart_subreg function from loop-iv.c to simplify-rtx.c. Bootstrapped and reg-tested on x86_64-unknown-linux-gnu. OK for trunk? A