HomePhabricator

[X86] Introduce X86SchedWriteWidths schedule wrapper for different vector…

Description

[X86] Introduce X86SchedWriteWidths schedule wrapper for different vector widths.

We need to split most of the scheduler classes by vector width to remove more of the InstRW overrides, this patch should make this easier/tidier by allowing us to pass the X86SchedWriteWidths wrapper to multi-width multiclasses and then split as required.

I've included fields for Scl (scalar float/double), MMX (MMX integer), XMM, YMM and ZMM widths. These fields mostly share the same classes but it should give us the flexibility that we may need in the future.

This patch has replaced a set of example SSE/AVX512 instruction cases but isn't exhaustive as it gets very noisy before we really need the functionality.

Differential Revision: https://reviews.llvm.org/D46266

Details

Committed
RKSimonApr 30 2018, 11:18 AM
Differential Revision
D46266: [X86] Introduce X86SchedWriteWidths schedule wrapper for different vector widths.
Parents
rL331207: Regenerated AST Matchers doc.
Branches
Unknown
Tags
Unknown