[all-commits] [llvm/llvm-project] d48f6d: [RISCV] Create the correct mask type when lowering...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Sep 27 01:54:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d48f6df1f8ef84d97856697a6366f440f0d9bb54
      https://github.com/llvm/llvm-project/commit/d48f6df1f8ef84d97856697a6366f440f0d9bb54
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-09-27 (Mon, 27 Sep 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Create the correct mask type when lowering EXTRACT_VECTOR_ELT

This particular case was creating a `VMSET_VL` using the old
fixed-length type in order to pass a mask to other custom nodes
operating on the scalable container type. This kind of thing wasn't
caught for us; I only noticed when experimenting with odd-length
vectors, where it was trying to generate an invalid `v3i1` MVT.

Reviewed By: craig.topper

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




More information about the All-commits mailing list