On Monday 13 July 2009 11:40, Chris Lattner wrote:> > - Tag instructions as register spills or reloads. > > I'm not sure what this means exactly, but would it be sufficient for > the asmprinter to use isLoadFromStackSlot and print this if the FI is > a spill slot?How does one know if the FI is a spill slot? -Dave
On Jul 13, 2009, at 11:47 AM, David Greene wrote:> On Monday 13 July 2009 11:40, Chris Lattner wrote: > >>> - Tag instructions as register spills or reloads. >> >> I'm not sure what this means exactly, but would it be sufficient for >> the asmprinter to use isLoadFromStackSlot and print this if the FI is >> a spill slot? > > How does one know if the FI is a spill slot?We don't currently track this in MachineFrameInfo, but it would be easy (and cheap) to add. -Chris
On Monday 13 July 2009 15:47, Chris Lattner wrote:> > How does one know if the FI is a spill slot? > > We don't currently track this in MachineFrameInfo, but it would be > easy (and cheap) to add.Ok, I'll look at doing that as part of this work. -Dave