[PATCH] R600/SI: Use DS offsets for constant addresses

Matt Arsenault Matthew.Arsenault at amd.com
Fri Oct 10 17:38:47 PDT 2014


Use 0 as the base address for a constant address, so if
we have a constant address we can save moves and form
read2/write2s.

http://reviews.llvm.org/D5737

Files:
  lib/Target/R600/AMDGPUISelDAGToDAG.cpp
  test/CodeGen/R600/ds_read2.ll
  test/CodeGen/R600/ds_write2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5737.14761.patch
Type: text/x-patch
Size: 3830 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141011/e2892e1e/attachment.bin>


More information about the llvm-commits mailing list