[PATCH] D146198: [RISCV] Make ResourceCycles relevant to LMUL

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 11:24:01 PDT 2023


craig.topper added a comment.

Why can't ResourceCycles be the base class that just contains a list of integers. Other classes inherit that and construct the list however they want. A fixed class could take a cycle count and put that value in every entry in the list. The lmul scaled class could take an cycle and mutliply.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146198/new/

https://reviews.llvm.org/D146198



More information about the llvm-commits mailing list