[all-commits] [llvm/llvm-project] d81161: [RISCV] Add support for fixed vector vselect

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Feb 17 03:05:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d81161646a3d9a57750383f8e8b6c0b9abc7624b
      https://github.com/llvm/llvm-project/commit/d81161646a3d9a57750383f8e8b6c0b9abc7624b
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

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

  Log Message:
  -----------
  [RISCV] Add support for fixed vector vselect

This patch adds support for fixed-length vector vselect. It does so by
lowering them to a custom unmasked VSELECT_VL node with a vector length
operand.

Reviewed By: craig.topper

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




More information about the All-commits mailing list