[all-commits] [llvm/llvm-project] 18c7bf: [RISCV] Refactor selectVSplat. NFCI

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Aug 29 07:42:39 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18c7bf0b85f5a54c20ea6e8b5440ea163aa6de1a
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

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

  Log Message:
  [RISCV] Refactor selectVSplat. NFCI

This patch shares the logic between the various splat ComplexPatterns to help
the diff in some upcoming patches.

It's worth noting that the uimm splat pattern now takes into account the
implicit truncation + sign extend semantics of vmv_v_x_vl, but that doesn't
seem to affect the result since it always took the sext value anyway.

Reviewed By: craig.topper

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

More information about the All-commits mailing list