[llvm-bugs] [Bug 36924] New: [X86] Split vector schedule classes by vector width only as necessary

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 27 14:14:11 PDT 2018


            Bug ID: 36924
           Summary: [X86] Split vector schedule classes by vector width
                    only as necessary
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: andrea.dibiagio at gmail.com, clement.courbet at gmail.com,
                    craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    spatel+llvm at rotateright.com
            Blocks: 36908

Many targets have different schedule costs for 128/256/512-bit rr and rm
versions of various SSE instructions (e.g. WriteFADD:

Given that we're overriding them anyhow means that we will generate multiple
scheduler class entries so we should probably just create separate schedule
classes for them.

But, similar to [Bug #35608], it'd be useful to avoid having to define all
these classes for cases where they don't differ or are not supported - so some
kind of default inheritence would be very useful.


WriteFADD_AVX128 : WriteFADD
WriteFADD_AVX256 : WriteFADD
WriteFADD_AVX512 : WriteFADD

Or maybe some mechanism with SchedAlias, or could we introduce something like

Referenced Bugs:

[Bug 36908] [meta][x86] Improve scheduler classes instruction coverage
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180327/24665db4/attachment.html>

More information about the llvm-bugs mailing list