diff options
author | Min-Yih Hsu <min.hsu@sifive.com> | 2025-10-07 14:30:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-07 14:30:27 -0700 |
commit | 30b9ef8088c35d86fbdffebe0ba8cdcea1afe6eb (patch) | |
tree | 61b90068744da98d212e53a731b6b7e22d2ff63e /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 5c613f287df7fc94e159621f870f1bb1fe3baaee (diff) | |
download | llvm-30b9ef8088c35d86fbdffebe0ba8cdcea1afe6eb.zip llvm-30b9ef8088c35d86fbdffebe0ba8cdcea1afe6eb.tar.gz llvm-30b9ef8088c35d86fbdffebe0ba8cdcea1afe6eb.tar.bz2 |
[RISCV] Factor out the core part of LMULWriteResMXVariant. NFC (#162347)
LMULWriteResMXVariant is a helper class that makes creating LMUL-aware
`SchedVar` easier. In preparation for later patches that require
- LMUL- _and_ SEW-aware `SchedVar`
- Assign different processor resources for predicated and non-predicated
variants
I factor out the core logics of LMULWriteResMXVariant into another impl
class, such that it'll be easier to add _"LMULSEWWriteResMXSEWVariant"_
easier later. I also extend this class so that users can customize
processor resources for the non-predicated variant.
Despite these, this patch is still a NFC. I thought it'll be cleaner not
to mix the changes here into later patches.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions