[all-commits] [llvm/llvm-project] 29dcc4: [AMDGPU] Add amdgpu_cs_chain[_preserve] CCs to IR ...

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


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

  Changed paths:
    M llvm/include/llvm/AsmParser/LLToken.h
    M llvm/include/llvm/IR/CallingConv.h
    M llvm/lib/AsmParser/LLLexer.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Assembler/amdgpu-cs-chain-cc.ll
    M llvm/test/Verifier/amdgpu-cc.ll

  Log Message:
  -----------
  [AMDGPU] Add amdgpu_cs_chain[_preserve] CCs to IR & verifier

Add the amdgpu_cs_chain and amdgpu_cs_chain_preserve keywords to
LLVM IR and make sure we can parse and print them. Also make sure we
perform some basic checks in the IR verifier - similar to what we check
for many of the other AMDGPU calling conventions, plus the additional
restriction that we can't have direct calls to functions with these
calling conventions.

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




More information about the All-commits mailing list