[all-commits] [llvm/llvm-project] 10b367: [RISCV][VP] Lower mask vector VP AND/OR/XOR to RVV...

vic via All-commits all-commits at lists.llvm.org
Thu Dec 23 13:03:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 10b3675aa95094bedb5c534e2017652a10f49dfd
      https://github.com/llvm/llvm-project/commit/10b3675aa95094bedb5c534e2017652a10f49dfd
  Author: Victor Perez <victor.perez at codeplay.com>
  Date:   2021-12-23 (Thu, 23 Dec 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    A llvm/test/CodeGen/RISCV/rvv/fixed-vectors-marith-vp.ll
    A llvm/test/CodeGen/RISCV/rvv/marith-vp.ll

  Log Message:
  -----------
  [RISCV][VP] Lower mask vector VP AND/OR/XOR to RVV instructions

For fixed and scalable vectors, each intrinsic x is lowered to vmx.mm,
dropping the mask, which is safe to do as masked-off elements are
undef anyway.

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




More information about the All-commits mailing list