| Issue |
244141
|
| Summary |
[TableGen] Add support for scheduler model class inheritance
|
| Labels |
tablegen,
backend:X86 Scheduler+Cost Models
|
| Assignees |
Zaneham
|
| Reporter |
RKSimon
|
As mentioned here by @Zaneham https://github.com/llvm/llvm-project/issues/240761#issuecomment-7003251613
> I'm thinking of giving SchedWrite an optional fallback in TableGen so the predicated writes default to the base write without every model needing a line, but happy to do it X86-only if you'd prefer.
This would allow us to avoid implementing so many classes in every scheduler model, by just having them to default to either another class (e.g. WritePack/Blend etc. fallback to WriteShuffle) or tagged as unsupported (Y/Z variants by default for non-AVX/AVX512 targets).
It would also simplify adding support for predication as we could have the predicated variants use the non-predicated fallbacks by default.
We'd also need a way to warn when the class isn't necessary if it completely matches the fallback (ideally using #240412).
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs