[all-commits] [llvm/llvm-project] 9eabea: [AMDGPU] Set noclobber metadata on loads instead o...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Mon Mar 7 23:13:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9eabea396814c5580978cd4766b524bef57844cf
      https://github.com/llvm/llvm-project/commit/9eabea396814c5580978cd4766b524bef57844cf
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)

  Changed paths:
    M clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteKernelArguments.cpp
    M llvm/test/CodeGen/AMDGPU/promote-kernel-arguments.ll

  Log Message:
  -----------
  [AMDGPU] Set noclobber metadata on loads instead of cast to constant

A load via pointer cast to constant will return true from
pointsToConstantMemory which is not necessarily so.

Fixes: SWDEV-326463

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




More information about the All-commits mailing list