This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help with lra
On 10-Aug-16 08:41 PM, Vladimir N Makarov wrote:
As for memory constraint you should not to return true for a pseudo.
Reload/LRA can figure out how to match a spilled pseudo with memory
(but this constraint should be define_memory_constraint, i saw
mistakes when people used different forms of constraints for memory
and had problems).
For its own reasons, xtensa returns true for a pseudo during reload for
a memory type constraint that shouldn't use the constant pool but
doesn't mark it as a memory constraint. What will that architecture lose
because of that and will it work for lra?