[PATCH] D158604: [AMDGPU] Add llvm.amdgcn.set.inactive.chain.arg intrinsic

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 05:41:51 PDT 2023


rovka created this revision.
Herald added subscribers: kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
rovka requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Add a new intrinsic, similar to llvm.amdgcn.set.inactive, but used only
in functions with the `amdgpu_cs_chain` or `amdgpu_cs_chain_preserve`
calling conventions. It allows setting the inactive lanes to those of
a value received as a VGPR argument.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158604

Files:
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/IR/Verifier.cpp
  llvm/test/Verifier/AMDGPU/intrinsic-amdgpu-cs-chain.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158604.552679.patch
Type: text/x-patch
Size: 8221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230823/8019895e/attachment.bin>


More information about the llvm-commits mailing list