[all-commits] [llvm/llvm-project] 98cbe8: [AMDGPU][PromoteAlloca] Set !amdgpu.non.volatile i...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Feb 3 05:18:25 PST 2026


  Branch: refs/heads/users/pierre-vh/gfx1250-nv-pass-infer
  Home:   https://github.com/llvm/llvm-project
  Commit: 98cbe87c2cc2a5ffa4f4fecb1b7dd13a964bb4b3
      https://github.com/llvm/llvm-project/commit/98cbe87c2cc2a5ffa4f4fecb1b7dd13a964bb4b3
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/test/CodeGen/AMDGPU/promote-alloca-memset.ll
    A llvm/test/CodeGen/AMDGPU/promote-alloca-non-volatile-accesses.ll
    M llvm/test/CodeGen/AMDGPU/promote-alloca-vgpr-ratio.ll

  Log Message:
  -----------
  [AMDGPU][PromoteAlloca] Set !amdgpu.non.volatile if promotion fails

I thought about doing this in a separate pass, but this pass already has all the necessary analysis for this to be a trivial addition.
We can simply set `!amdgpu.non.volatile`  if all other attempts to promote the operation failed.


  Commit: 9f7145ec7c6e358c5b7c8a25294f6a4746d9dc3d
      https://github.com/llvm/llvm-project/commit/9f7145ec7c6e358c5b7c8a25294f6a4746d9dc3d
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2026-02-03 (Tue, 03 Feb 2026)

  Changed paths:
    M llvm/docs/AMDGPUUsage.rst
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/memory-legalizer-non-volatile.ll

  Log Message:
  -----------
  Pull metadata impl at the top of the patch stack


Compare: https://github.com/llvm/llvm-project/compare/e29b48e80848...9f7145ec7c6e

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list