[X86][SLM] Keep similar scheduler costs types together. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 2 Jul 2021 13:50:24 +0000 (14:50 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 2 Jul 2021 13:50:24 +0000 (14:50 +0100)
commite5fdff1cf822e8687ddb5568d14b8a609a5831d0
tree461a65f3c87a9a5ca63ae349dddfffca4082d4d5
parentd867634fbdb1f1f521981c244c410a9b839c8325
[X86][SLM] Keep similar scheduler costs types together. NFCI.

The SLM model is inconsistent about where it kept its 'unsupported' schedule classes - better to keep them close to similar classes.

I'm not sure why some ymm classes are defined and others are unsupported though (but I haven't altered them) - the only SLM-like CPU supporting any ymm is KNL and that currently uses the HSW model.
llvm/lib/Target/X86/X86ScheduleSLM.td