> How can that be correct? > > The secondary reload macros/hooks define cases where additional registers > are needed to reload certain forms of rtl. I doubt the use of LRA > completely eliminates the need for secondary reloads.
Vladimir explained me that in that case on arm, secondary reload hook confuses LRA, and that returning NO_REGS will let LRA deal with constraints, but I may have badly understand what he said. Yvan