[all-commits] [llvm/llvm-project] 8762bc: [AMDGPU] Add llvm.amdgcn.cs.chain intrinsic to IR ...

Diana via All-commits all-commits at lists.llvm.org
Thu Jun 22 01:39:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8762bc77b42f942d13f1bc1637b834262e0d00f4
      https://github.com/llvm/llvm-project/commit/8762bc77b42f942d13f1bc1637b834262e0d00f4
  Author: Diana Picus <Diana-Magda.Picus at amd.com>
  Date:   2023-06-22 (Thu, 22 Jun 2023)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Verifier/AMDGPU/intrinsic-amdgpu-cs-chain.ll

  Log Message:
  -----------
  [AMDGPU] Add llvm.amdgcn.cs.chain intrinsic to IR & verifier

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.

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




More information about the All-commits mailing list