[PATCH] D84403: [AMDGPU] Use ds_read/write_b96/b128 when possible for SDag

Mirko Brkusanin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 23 06:59:17 PDT 2020


mbrkusanin created this revision.
mbrkusanin added reviewers: arsenm, foad.
mbrkusanin added a project: LLVM.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

Don't break down local loads and stores so ds_read/write_b96/b128 in
ISelLowering can be selected on subtargets that support them and if align 
requirements allow them.


https://reviews.llvm.org/D84403

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/ds_read2.ll
  llvm/test/CodeGen/AMDGPU/ds_write2.ll
  llvm/test/CodeGen/AMDGPU/insert-subvector-unused-scratch.ll
  llvm/test/CodeGen/AMDGPU/lds-misaligned-bug.ll
  llvm/test/CodeGen/AMDGPU/load-local-f32.ll
  llvm/test/CodeGen/AMDGPU/load-local-i16.ll
  llvm/test/CodeGen/AMDGPU/load-local-i32.ll
  llvm/test/CodeGen/AMDGPU/load-local-i8.ll
  llvm/test/CodeGen/AMDGPU/load-local.128.ll
  llvm/test/CodeGen/AMDGPU/load-local.96.ll
  llvm/test/CodeGen/AMDGPU/store-local.128.ll
  llvm/test/CodeGen/AMDGPU/store-local.96.ll
  llvm/test/CodeGen/AMDGPU/store-local.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84403.280100.patch
Type: text/x-patch
Size: 69285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200723/b459f8c0/attachment-0001.bin>


More information about the llvm-commits mailing list