[PATCH] D151995: [AMDGPU] Add llvm.amdgcn.cs.chain intrinsic to IR & verifier

Diana Picus via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 2 06:40:57 PDT 2023


rovka created this revision.
rovka added reviewers: AMDGPU, nhaehnle, ruiling.
Herald added subscribers: kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
rovka requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

We only check a subset of the constraints in the verifier:

- that we only call the intrinsic from functions with a restricted set of calling conventions
- that the 'flags' argument is an immediate

Other checks are (probably) more appropriate for codegen.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151995

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: D151995.527843.patch
Type: text/x-patch
Size: 5735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230602/30ceeb43/attachment.bin>


More information about the llvm-commits mailing list