[all-commits] [llvm/llvm-project] 796a60: [AMDGPU] New intrinsic void llvm.amdgcn.s.sethalt(...

Jay Foad via All-commits all-commits at lists.llvm.org
Mon Mar 1 06:30:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 796a60d2ea32320f298f91beb04f015934598821
      https://github.com/llvm/llvm-project/commit/796a60d2ea32320f298f91beb04f015934598821
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/SOPInstructions.td
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.sethalt.ll

  Log Message:
  -----------
  [AMDGPU] New intrinsic void llvm.amdgcn.s.sethalt(i32)

The expected use case is for frontends to insert this into
shaders that are to be run under a debugger. The shader can
then be resumed or single stepped from the point of the call
under debugger control.

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




More information about the All-commits mailing list