llvm-project
9fa51720 - [RISCV] Use inheritance to simplify usage of the UnsupportedSched* multiclasses. NFC (#120329)

Commit
285 days ago
[RISCV] Use inheritance to simplify usage of the UnsupportedSched* multiclasses. NFC (#120329) Split UnsupportedSchedZfhmin from UnsupportedSchedZfh. UnsupportedSchedZfhmin inherits from UnsupportedSchedZfh and should be used when no F16 is supported. UnsupportedSchedZfh can be used direclty for CPUs that support Zfhmin but not Zfh. Make UnsupportedSchedF inherit from both UnsupportedSchedD and UnsupportedSchedZfhmin so that CPUs with no FP only need to include UnsupportedSchedF. This required some minor refactorings to RISCVSchedSyntacoreSCR345.td. I've also switched to inheritance instead of using defm.
Author
Parents
Loading