HomePhabricator

[AMDGPU] Simplify memory legalizer

Description

[AMDGPU] Simplify memory legalizer

  • 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.

Differential Revision: https://reviews.llvm.org/D47504

Details

Committed
t-tyeJun 7 2018, 3:28 PM
Differential Revision
D47504: [AMDGPU] Simplify memory legalizer
Parents
rL334240: Revert "[Parse] Use CapturedStmt for @finally on MSVC"
Branches
Unknown
Tags
Unknown