This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Initial values vs inlined functions [was: PATCH: extra machine-dependent passes]
> One last thing. There's no need for emitting a move. Do
>
> remap->reg_map[REGNO (ivs->entries[i].pseudo)]
> = get_func_hard_reg_initial_val (cfun, ivs->entries[i].hard_reg);
>
> which will make copy_rtx_and_substitute replace the pseudos
> from the callee with the pseudos from the caller.
Does that work if hard_reg is really a nontrivial rtx expression?
(I'm thinking of your PIC example).