[all-commits] [llvm/llvm-project] fd465f: [RISCV] Move vmv_s_x and vfmv_s_f special casing t...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Aug 30 12:05:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd465f377c541bbcfb12c1268bf725deaf23d2e0
      https://github.com/llvm/llvm-project/commit/fd465f377c541bbcfb12c1268bf725deaf23d2e0
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-interleaved-access.ll
    M llvm/test/CodeGen/RISCV/rvv/insertelt-int-rv32.ll
    M llvm/test/CodeGen/RISCV/rvv/splat-vector-split-i64-vl-sdnode.ll
    M llvm/test/CodeGen/RISCV/srem-seteq-illegal-types.ll

  Log Message:
  -----------
  [RISCV] Move vmv_s_x and vfmv_s_f special casing to DAG combine

We'd discussed this in the original set of patches months ago, but decided against it. I think we should reverse ourselves here as the code is significantly more readable, and we do pick up cases we'd missed by not calling the appropriate helper routine.

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




More information about the All-commits mailing list