This is the mail archive of the gcc@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: store_motion query


On Wed, May 21, 2008 at 11:41 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Maybe that should be emit_move_insn()?

OK, so that is not it.

The problem is that can_assign_to_reg_p() returns true when x is
(ashift:HI (reg/v:HI 27 [ n ]) (subreg:QI (reg/v:HI 27 [ n ]) 0)).
num_clobbers == 1 but added_clobbers_hard_reg_p returns false.

It seems to me that store motion is OK here, but I don't know who is
usually responsible for adding the clobbers...

Gr.
Steven


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