[all-commits] [llvm/llvm-project] 04977c: [RISCV] Fix a crash in fixed-length build_vector l...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Tue Feb 16 02:31:31 PST 2021


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

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

  Log Message:
  -----------
  [RISCV] Fix a crash in fixed-length build_vector lowering

Non-splatted non-integer build_vector nodes were mistakenly being
lowered as VID expressions, which should not happen. VID can only be
used to select integer build_vector nodes.

Reviewed By: craig.topper

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




More information about the All-commits mailing list