[all-commits] [llvm/llvm-project] 290e57: [AMDGPU] Improve clobbering checks in the kernel a...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Thu Feb 10 14:52:10 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 290e5722e83e9c7480d64c049a14b74e30b6af4a
      https://github.com/llvm/llvm-project/commit/290e5722e83e9c7480d64c049a14b74e30b6af4a
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2022-02-10 (Thu, 10 Feb 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteKernelArguments.cpp
    A llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
    A llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
    M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
    M llvm/test/CodeGen/AMDGPU/promote-kernel-arguments.ll

  Log Message:
  -----------
  [AMDGPU] Improve clobbering checks in the kernel argument promotion

Use same MSSA clobbering checks as in the AMDGPUAnnotateUniformValues.
Kernel argument promotion needs exactly the same information so factor
out utility function isClobberedInFunction.

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




More information about the All-commits mailing list