[all-commits] [llvm/llvm-project] 63cb32: AMDGPU: Mark sendmsg intrinsics as norecurse

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jan 29 19:02:32 PST 2025


  Branch: refs/heads/users/arsenm/issue124802/mark-sendmsg-norecurse
  Home:   https://github.com/llvm/llvm-project
  Commit: 63cb322d5f05ba8bc29cabc841119204302c757f
      https://github.com/llvm/llvm-project/commit/63cb322d5f05ba8bc29cabc841119204302c757f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-01-30 (Thu, 30 Jan 2025)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    A llvm/test/Transforms/FunctionAttrs/sendmsg-norecurse.ll

  Log Message:
  -----------
  AMDGPU: Mark sendmsg intrinsics as norecurse

We cannot mark these as nocallback or nosync. These send a message
to a host thread which could trigger arbitrary code. However this
signaled code can't directly cause this thread to start recursing.

FunctionAttrs manages to propagate norecurse to the caller, but
attributor does not.

Fixes #124802



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