[PATCH] D47504: [AMDGPU] Simplify memory legalizer

Tony Tye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 29 16:30:22 PDT 2018


t-tye created this revision.
t-tye added reviewers: kzhuravl, b-sumner, rampitec, arsenm.
Herald added subscribers: tpr, dstuttard, yaxunl, nhaehnle, wdng.

- Make code easier to maintain.
- Avoid generating waitcnts for VMEM if the address sppace does not involve VMEM.
- Add support to generate waitcnts for LDS and GDS memory.


https://reviews.llvm.org/D47504

Files:
  lib/Target/AMDGPU/SIMemoryLegalizer.cpp
  test/CodeGen/AMDGPU/memory-legalizer-invalid-addrspace.mir
  test/CodeGen/AMDGPU/memory-legalizer-invalid-syncscope.ll
  test/CodeGen/AMDGPU/memory-legalizer-load.ll
  test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-atomics.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47504.149003.patch
Type: text/x-patch
Size: 67818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180529/b58e941c/attachment-0001.bin>


More information about the llvm-commits mailing list