This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Do not mark pseudo-copies decomposable during first lower-subreg pass


On 26 September 2012 13:11, Ulrich Weigand <uweigand@de.ibm.com> wrote:
> ChangeLog:
>
>         * lower-subreg.c (enum classify_move_insn): Rename
>         SIMPLE_PSEUDO_REG_MOVE to DECOMPOSABLE_SIMPLE_MOVE.
>         (find_decomposable_subregs): Update.
>         (decompose_multiword_subregs): Add DECOMPOSE_COPIES parameter.
>         Only mark pseudo-to-pseudo copies as DECOMPOSABLE_SIMPLE_MOVE
>         if that parameter is true.
>         (rest_of_handle_lower_subreg): Call decompose_multiword_subregs
>         with DECOMPOSE_COPIES false.
>         (rest_of_handle_lower_subreg2): Call decompose_multiword_subregs
>         with DECOMPOSE_COPIES true.

This patch seems to have caused a slight regression in ARM register allocation:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58166

Jay.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]