[all-commits] [llvm/llvm-project] 841a7f: [RISCV][NFC] Factor out VLEN in the SiFive7 schedu...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Tue Jun 10 18:30:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 841a7f0897272f6412bc2e42a7dd695bf1e8a8cf
      https://github.com/llvm/llvm-project/commit/841a7f0897272f6412bc2e42a7dd695bf1e8a8cf
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

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

  Log Message:
  -----------
  [RISCV][NFC] Factor out VLEN in the SiFive7 scheduling model (#143629)

In preparation of reusing SiFive7Model for sifive-x390, which has a VLEN
of 1024, it's better (and less chaotic) to factor out the VLEN parameter
from various of places first: the plan is to do a major overhaul on this
file in which all the `WriteRes` are going to be encapsulated in a big
`multiclass`, where VLEN is one of its template arguments. Such that we
can instantiate different scheduling models with different VLEN.

Before that happens, a placeholder defvar `SiFive7VLEN` is used instead
in this patch.

NFC.

Co-authored-by: Michael Maitland <michaeltmaitland at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list