[all-commits] [llvm/llvm-project] b4b490: [RISCV] Fix insert_subvector with fixed vector typ...

Luke Lau via All-commits all-commits at lists.llvm.org
Mon Feb 26 03:33:57 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4b490496ab8994fee41005471d075812bdb3a65
      https://github.com/llvm/llvm-project/commit/b4b490496ab8994fee41005471d075812bdb3a65
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-02-26 (Mon, 26 Feb 2024)

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

  Log Message:
  -----------
  [RISCV] Fix insert_subvector with fixed vector type creating invalid node (#82975)

If the vector type is a fixed vector type, we convert it to a container
scalable vector type to compute its reg class. But we need to keep the
old
fixed type so we create a result node with the same type.

This code path is currently dead so I haven't been able to create a test
case
for it. But I have an upcoming patch for insert_subvector lowering that
will
exercise this.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list