[all-commits] [llvm/llvm-project] 849038: AMDGPU: Do not infer implicit inputs for !nocallba...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Nov 4 20:54:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 849038cad16f18d77b5cd277980c93e8efbf1bbc
      https://github.com/llvm/llvm-project/commit/849038cad16f18d77b5cd277980c93e8efbf1bbc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-11-05 (Wed, 05 Nov 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
    A llvm/test/CodeGen/AMDGPU/amdgpu-attributor-intrinsic-missing-nocallback.ll
    A llvm/test/CodeGen/AMDGPU/amdgpu-attributor-nocallback-intrinsics.ll

  Log Message:
  -----------
  AMDGPU: Do not infer implicit inputs for !nocallback intrinsics
 (#131759)

This isn't really the right check, we want to know that the intrinsic
does not perform a true function call to any code (in the module or
not). nocallback
appears to be the closest thing to this property we have now though.
Fixes theoretically
miscompiles with intrinsics like statepoint, which hide a call to a real
function.

Also do the same for inferring no-agpr usage.



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