On Mon, May 14, 2007 at 10:47:13PM +0100, Mark Shinwell wrote: [snip] > - the last use of reg2 (in B) is inside a matched input operand; [snip] > > The reload used for the instruction at B looks like this: > > Reload 0: reload_in (SI) = (plus:SI (reg/f:SI 9 r9 [3275]) > (reg:SI 10 sl [3812])) > GENERAL_REGS, RELOAD_FOR_INPUT (opnum = 1), inc by 8 > reload_in_reg: (plus:SI (reg/f:SI 9 r9 [3275]) > (reg:SI 10 sl [3812])) > reload_reg_rtx: (reg:SI 9 r9) > > where, in the notation from above, r9 is H and pseudo 3275 is reg2.
I could be missing something here, but aren't matched operands given a reload type of RELOAD_OTHER rather than RELOAD_FOR_INPUT? Also, which register is the "inc by 8" note for? R9 or sl? Perhaps show the actual insn B before and after reload? -- Rask Ingemann Lambertsen