[all-commits] [llvm/llvm-project] 7b33f6: [RISCV] Remove vmv_v_x_vl workaround for constant ...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Aug 31 11:36:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b33f60f13dc28813510b4ce3b7629187a1beba6
      https://github.com/llvm/llvm-project/commit/7b33f60f13dc28813510b4ce3b7629187a1beba6
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

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

  Log Message:
  -----------
  [RISCV] Remove vmv_v_x_vl workaround for constant splat. NFC

Now that DAG.getConstant uses splat_vector_parts if needed on RV32, we can use
it directly without having to manually lower to a vmv_v_x_vl.

Reviewed By: reames

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




More information about the All-commits mailing list