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

Matt Arsenault arsenm2 at gmail.com
Sun Aug 10 18:31:23 PDT 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-SI-Fix-offset-folding-in-some-cases-with-shifte.patch
Type: application/octet-stream
Size: 21372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140810/9dd6ca86/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-SI-Add-load-store-machine-optimizer-pass.patch
Type: application/octet-stream
Size: 57532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140810/9dd6ca86/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-SI-Match-read2-write2-stride-64-versions.patch
Type: application/octet-stream
Size: 31598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140810/9dd6ca86/attachment-0002.obj>


More information about the llvm-commits mailing list