[all-commits] [llvm/llvm-project] 2a0e4d: [amdgpu] Enhance AMDGPU AA.

darkbuck via All-commits all-commits at lists.llvm.org
Tue Oct 20 07:07:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a0e4d1c01c93bc326957c0ebf2a3203dfb145d9
      https://github.com/llvm/llvm-project/commit/2a0e4d1c01c93bc326957c0ebf2a3203dfb145d9
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp
    M llvm/test/CodeGen/AMDGPU/amdgpu-alias-analysis.ll

  Log Message:
  -----------
  [amdgpu] Enhance AMDGPU AA.

- In general, a generic point may alias to pointers in all other address
  spaces. However, for certain cases enforced by the programming model,
  we may found a generic point won't alias to pointers to local objects.
  * When a generic pointer is loaded from the constant address space, it
    could only be a pointer to the GLOBAL or CONSTANT address space.
    Thus, it won't alias to pointers to the PRIVATE or LOCAL address
    space.
  * When a generic pointer is passed as a kernel argument, it also could
    only be a pointer to the GLOBAL or CONSTANT address space. Thus, it
    also won't alias to pointers to the PRIVATE or LOCAL address space.

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


  Commit: 1ed506deaddb41870d22f5b48d52ba710e8d6c00
      https://github.com/llvm/llvm-project/commit/1ed506deaddb41870d22f5b48d52ba710e8d6c00
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-10-20 (Tue, 20 Oct 2020)

  Changed paths:
    M clang/include/clang/Basic/Diagnostic.h
    M clang/include/clang/Basic/PartialDiagnostic.h

  Log Message:
  -----------
  [clang] Fix warnings on the missing of explicitly copy constructor on the base class. NFC.


Compare: https://github.com/llvm/llvm-project/compare/6439fde6d403...1ed506deaddb


More information about the All-commits mailing list