[PATCH] D146198: [RISCV] Make ResourceCycles relevant to LMUL
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 16 07:14:06 PDT 2023
michaelmaitland added a comment.
One concern I have is that a microarchitecture may wish to have more flexibility over the number of resource cycles for each LMUL than the `multiplier` subroutine allows for. I am imagining a scenario where the number of resource cycles for different LMUL is more complex than multiplication by the LMUL factor. Something like this would allow for maximum flexibility:
for mx in MxList {
defvar RC = ...; // Something that may be more complex than BaseCycles * multiplier
defvar L = ...; // Maybe latency is still relevant, even if it is less important than ResourceCycles
let ResourceCycles = [RC], Latency = L in {
...
}
}
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