[all-commits] [llvm/llvm-project] 8d7d89: [AMDGPU] Add alias.scope metadata to lowered LDS s...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Thu Aug 19 11:40:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d7d89b0811da55c9f4bf21682b563b0ce521f97
      https://github.com/llvm/llvm-project/commit/8d7d89b0811da55c9f4bf21682b563b0ce521f97
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2021-08-19 (Thu, 19 Aug 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
    A llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa-merge.ll
    A llvm/test/CodeGen/AMDGPU/lower-lds-struct-aa.ll

  Log Message:
  -----------
  [AMDGPU] Add alias.scope metadata to lowered LDS struct

Alias analysis is unable to disambiguate accesses to the structure
fields without it unlike distinct variables. As a result we cannot
combine ds_read and ds_write operations in a case of any store in
between which always considered clobbering.

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




More information about the All-commits mailing list