[all-commits] [llvm/llvm-project] 776729: [RISCV] Test for D155140. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jul 18 09:49:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7767297b5897ed4fe7a23c5d0dc9c1dec391f17b
      https://github.com/llvm/llvm-project/commit/7767297b5897ed4fe7a23c5d0dc9c1dec391f17b
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    A llvm/test/CodeGen/RISCV/rvv/copyprop.mir

  Log Message:
  -----------
  [RISCV] Test for D155140. NFC

The vmv1r.v v8, v9 in the last block can be removed by late
copy propagation.

Reviewed By: wangpc

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


  Commit: cdee88a2e061d529f442a0d01a18ed0688fc207a
      https://github.com/llvm/llvm-project/commit/cdee88a2e061d529f442a0d01a18ed0688fc207a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoV.td
    M llvm/test/CodeGen/RISCV/rvv/copyprop.mir

  Log Message:
  -----------
  [RISCV] Add isMoveReg to vmv1r/vmv2r/vmv4r/vmv8r.v.

This allows TII isCopyInstrImpl to consider them copies.

Reviewed By: wangpc

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


Compare: https://github.com/llvm/llvm-project/compare/fe0116aba833...cdee88a2e061


More information about the All-commits mailing list