[PATCH 1/2] R600/SI: Add kill flag when copying scratch offset to a register
Tom Stellard
tom at stellard.net
Tue Jan 13 16:10:06 PST 2015
Hi Matt,
Here is an updated patchset.
-Tom
On Thu, Jan 08, 2015 at 12:07:12PM -0800, Matt Arsenault wrote:
>
> > On Jan 8, 2015, at 7:44 AM, Tom Stellard <thomas.stellard at amd.com> wrote:
> >
> > This allows us to re-use the same register for the scratch offset
> > when accessing large private arrays.
> > ---
> > lib/Target/R600/SIRegisterInfo.cpp | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/lib/Target/R600/SIRegisterInfo.cpp b/lib/Target/R600/SIRegisterInfo.cpp
> > index d955c72..0b930855 100644
> > --- a/lib/Target/R600/SIRegisterInfo.cpp
> > +++ b/lib/Target/R600/SIRegisterInfo.cpp
> > @@ -256,7 +256,7 @@ void SIRegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator MI,
> > BuildMI(*MBB, MI, MI->getDebugLoc(),
> > TII->get(AMDGPU::V_MOV_B32_e32), TmpReg)
> > .addImm(Offset);
> > - FIOp.ChangeToRegister(TmpReg, false);
> > + FIOp.ChangeToRegister(TmpReg, false, false, true);
> > }
> > }
> > }
> > --
> > 1.8.5.5
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
> testcase?
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-SI-Update-SIInstrInfo-verifyInstruction-after-r.patch
Type: text/x-diff
Size: 1536 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/6388edb2/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-SI-Don-t-store-scratch-buffer-frame-index-in-MU.patch
Type: text/x-diff
Size: 4552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/6388edb2/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-SI-Add-kill-flag-when-copying-scratch-offset-to.patch
Type: text/x-diff
Size: 2219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/6388edb2/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-R600-SI-Enable-sub-reg-liveness.patch
Type: text/x-diff
Size: 8905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/6388edb2/attachment-0003.patch>
More information about the llvm-commits
mailing list