[all-commits] [llvm/llvm-project] e8f1f8: [RISCV] Support CONCAT_VECTORS on scalable masks

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Jun 9 01:16:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e8f1f891031385a34f0548803f3bc76ce50544c1
      https://github.com/llvm/llvm-project/commit/e8f1f891031385a34f0548803f3bc76ce50544c1
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/setcc-fp-rv32.ll
    M llvm/test/CodeGen/RISCV/rvv/setcc-fp-rv64.ll
    M llvm/test/CodeGen/RISCV/rvv/setcc-integer-rv32.ll
    M llvm/test/CodeGen/RISCV/rvv/setcc-integer-rv64.ll

  Log Message:
  -----------
  [RISCV] Support CONCAT_VECTORS on scalable masks

This patch is a simple fix which registers CONCAT_VECTORS as
custom-lowered for scalable mask vectors. This follows the pattern of
all other scalable-vector types, as the default expansion of
CONCAT_VECTORS cannot handle scalable types, and even if it did it'd go
through the stack and generate worse code.

Reviewed By: craig.topper

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




More information about the All-commits mailing list