[all-commits] [llvm/llvm-project] 1a35a1: [RISCV] Add vadd with mask and without mask builtin.

Kai Wang via All-commits all-commits at lists.llvm.org
Tue Feb 23 15:59:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a35a1b0748639a0014eb8aec1a9c36e330c5316
      https://github.com/llvm/llvm-project/commit/1a35a1b0748639a0014eb8aec1a9c36e330c5316
  Author: Hsiangkai Wang <kai.wang at sifive.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    A clang/include/clang/Basic/BuiltinsRISCV.def
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/TargetBuiltins.h
    M clang/include/clang/Sema/Sema.h
    M clang/include/clang/module.modulemap
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/lib/Basic/Targets/RISCV.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/Sema/SemaChecking.cpp
    A clang/test/CodeGen/RISCV/vadd.c

  Log Message:
  -----------
  [RISCV] Add vadd with mask and without mask builtin.

Demonstrate how to add RISC-V V builtins and lower them to IR intrinsics for V extension.

Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: Hsiangkai Wang <kai.wang at sifive.com>

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




More information about the All-commits mailing list