[PATCH] R600/SI: Add pass to optimize LDS instruction offsets

Matt Arsenault arsenm2 at gmail.com
Sun Sep 14 11:50:57 PDT 2014


On Aug 14, 2014, at 2:29 PM, Matt Arsenault <arsenm2 at gmail.com> wrote:

> 
> On Aug 10, 2014, at 6:31 PM, Matt Arsenault <arsenm2 at gmail.com> wrote:
> 
>> Hi,
>> 
>> These patches add a new pass to match ds read2/write2/read2st64/write2st64 instructions. This pass looks for adjacent LDS operations (relying on the scheduler to place them together) with constant offsets, and merges them if possible. I’m not particularly confident in the live interval updating
>> 
>> <0001-R600-SI-Fix-offset-folding-in-some-cases-with-shifte.patch><0002-R600-SI-Add-load-store-machine-optimizer-pass.patch><0003-R600-SI-Match-read2-write2-stride-64-versions.patch>
> 
> 
> Ping



Updated set of patches so tests pass on trunk (with the exception of two tests which still fail due to enabling misched). Also changes formatting of how offsets are printed. 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-SI-Rough-first-implementation-of-shouldClusterL.patch
Type: application/octet-stream
Size: 2254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140914/59aed822/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-XXX-Enable-misched.patch
Type: application/octet-stream
Size: 2132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140914/59aed822/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-SI-Fix-broken-check-lines.patch
Type: application/octet-stream
Size: 1170 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140914/59aed822/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-R600-SI-Remove-assert.patch
Type: application/octet-stream
Size: 1866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140914/59aed822/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-R600-SI-Add-load-store-machine-optimizer-pass.patch
Type: application/octet-stream
Size: 58781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140914/59aed822/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-R600-SI-Match-read2-write2-stride-64-versions.patch
Type: application/octet-stream
Size: 32414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140914/59aed822/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-R600-SI-Change-how-DS-offsets-are-printed.patch
Type: application/octet-stream
Size: 94067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140914/59aed822/attachment-0006.obj>


More information about the llvm-commits mailing list