[all-commits] [llvm/llvm-project] 093ecc: [RISCV] Add the passthru operand for vadc/vsbc/vme...

Zakk Chen via All-commits all-commits at lists.llvm.org
Thu Feb 17 02:25:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 093ecccdab47640c5d94ace7ad440972f19f66a9
      https://github.com/llvm/llvm-project/commit/093ecccdab47640c5d94ace7ad440972f19f66a9
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vadc.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmerge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmerge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsbc.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vadc.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vfmerge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vmerge.c
    M clang/test/CodeGen/RISCV/rvv-intrinsics/vsbc.c
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/unmasked-tu.ll
    M llvm/test/CodeGen/RISCV/rvv/vadc-rv32.ll
    M llvm/test/CodeGen/RISCV/rvv/vadc-rv64.ll
    M llvm/test/CodeGen/RISCV/rvv/vfmerge.ll
    M llvm/test/CodeGen/RISCV/rvv/vmerge-rv32.ll
    M llvm/test/CodeGen/RISCV/rvv/vmerge-rv64.ll
    M llvm/test/CodeGen/RISCV/rvv/vsbc-rv32.ll
    M llvm/test/CodeGen/RISCV/rvv/vsbc-rv64.ll

  Log Message:
  -----------
  [RISCV] Add the passthru operand for vadc/vsbc/vmerge/vfmerge IR intrinsics.

The goal is support tail and mask policy in RVV builtins.
We focus on IR part first.
If the passthru operand is undef, we use tail agnostic, otherwise
use tail undisturbed.

Reviewed By: rogfer01

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




More information about the All-commits mailing list