[PATCH] D158605: [AMDGPU] ISel for llvm.amdgcn.set.inactive.chain.arg

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


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

Add patterns to select int_amdgcn_set_inactive_chain_arg to
V_SET_INACTIVE.

This could probably use some more testing, but at least for simple cases
V_SET_INACTIVE seems to mostly work out of the box.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158605

Files:
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.chain.arg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158605.552680.patch
Type: text/x-patch
Size: 24636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230823/1b7481e1/attachment.bin>


More information about the llvm-commits mailing list