[all-commits] [llvm/llvm-project] 5a9584: [RISCV] Add subclasses of Sched to simplify code

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Wed Jul 26 01:13:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a9584860446e717e061989486020846d486f85e
      https://github.com/llvm/llvm-project/commit/5a9584860446e717e061989486020846d486f85e
  Author: wangpc <wangpengcheng.pp at bytedance.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

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

  Log Message:
  -----------
  [RISCV] Add subclasses of Sched to simplify code

We add some subclasses of Sched to reduce code which cast string
to `SchedWrite`/`SchedRead`.

Besides, we add `ReadVMask` iff pseudo is masked. And this is the
reason why this patch isn't a NFC since we add it for all pseudos
before.

`ReadMergeOp` will be added in D155654.

Reviewed By: michaelmaitland

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




More information about the All-commits mailing list