[all-commits] [llvm/llvm-project] 5e9229: [2/11][POC][Clang][RISCV] Define RVV tuple types

Yueh-Ting (eop) Chen via All-commits all-commits at lists.llvm.org
Mon May 22 00:50:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e92298f76875e1a89ad58bab042cd7abe9fc004
      https://github.com/llvm/llvm-project/commit/5e92298f76875e1a89ad58bab042cd7abe9fc004
  Author: eopXD <yueh.ting.chen at gmail.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M clang/include/clang/Basic/RISCVVTypes.def
    M clang/lib/CodeGen/CGCall.cpp
    M clang/lib/CodeGen/CodeGenTypes.cpp
    A clang/test/CodeGen/RISCV/rvv-intrinsics-handcrafted/rvv-tuple-type.c
    M clang/test/Sema/riscv-types.c

  Log Message:
  -----------
  [2/11][POC][Clang][RISCV] Define RVV tuple types

For the cover letter of this patch-set, please checkout D146872.

Depends on D146872.

This is the 2nd patch of the patch-set. This patch originates from
D97264. This patch further allows local variable declaration and
function parameter passing by adjustment in clang lowering.

Test cases are provided to demonstrate the LLVM IR generated.

Note: This patch is currently only a proof-of-concept with only a
single RVV tuple type declared here, the rest will be added when
the concept of this patch-set is accepted.

Authored-by: eop Chen <eop.chen at sifive.com>
Co-Authored-by: Hsiangkai Wang <kai.wang at sifive.com>

Reviewed By: craig.topper

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




More information about the All-commits mailing list