[all-commits] [llvm/llvm-project] ae68b3: [AMDGPU] Add test for a problem with noclobber met...

Jay Foad via All-commits all-commits at lists.llvm.org
Mon Jan 31 03:09:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae68b3a4577633a7be9e97319d39a7bc3cf37ee4
      https://github.com/llvm/llvm-project/commit/ae68b3a4577633a7be9e97319d39a7bc3cf37ee4
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/global_smrd.ll

  Log Message:
  -----------
  [AMDGPU] Add test for a problem with noclobber metadata

If AMDGPUAnnotateUniformValues finds a load from a uniform pointer with
no potentially clobbering stores between the kernel entry point and the
load instruction, it adds noclobber metadata to the *address*. This is
unsafe because it can get applied to other loads in the same which do
have aliasing stores.

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




More information about the All-commits mailing list