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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jan 29 18:53:44 PST 2025


  Branch: refs/heads/users/arsenm/issue124802/mark-sendmsg-norecurse
  Home:   https://github.com/llvm/llvm-project
  Commit: 8931702f8e986e73835d2daf306aa05c94c128be
      https://github.com/llvm/llvm-project/commit/8931702f8e986e73835d2daf306aa05c94c128be
  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