[all-commits] [llvm/llvm-project] d488f1: [RISCV][NFC]: Refactor classes for load/store inst...

bincheng-github via All-commits all-commits at lists.llvm.org
Fri Nov 5 19:48:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d488f1fff2029c6edd8f03e0567f094c2562a8b6
      https://github.com/llvm/llvm-project/commit/d488f1fff2029c6edd8f03e0567f094c2562a8b6
  Author: Bin Cheng <bin.cheng at linux.alibaba.com>
  Date:   2021-11-06 (Sat, 06 Nov 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoV.td

  Log Message:
  -----------
  [RISCV][NFC]: Refactor classes for load/store instructions of RVV

This patch refactors classes for load/store of V extension by:
- Introduce new class for VUnitStrideLoadFF and VUnitStrideSegmentLoadFF
  so that uses of L/SUMOP* are not spread around different places.
- Reorder classes for Unit-Stride load/store in line with table
  describing lumop/sumop in riscv-v-spec.pdf.

Reviewed By: HsiangKai, craig.topper

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


  Commit: 54d891a7d5f28e8a6036e866c6c0967e724805da
      https://github.com/llvm/llvm-project/commit/54d891a7d5f28e8a6036e866c6c0967e724805da
  Author: Bin Cheng <bin.cheng at linux.alibaba.com>
  Date:   2021-11-06 (Sat, 06 Nov 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoV.td

  Log Message:
  -----------
  [RISCV]: Fix typo by abstracting VWholeLoad* classes

This patch abstracts VWholeLoad* classes into VWholeLoadN, simplifies
existing code as well as fixes a typo.

Reviewed By: craig.topper

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


Compare: https://github.com/llvm/llvm-project/compare/87e53a0ad855...54d891a7d5f2


More information about the All-commits mailing list