[llvm-bugs] [Bug 35608] New: [X86] Remove Schedule classes from models that don't use them

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 10 08:50:01 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=35608

            Bug ID: 35608
           Summary: [X86] Remove Schedule classes from models that don't
                    use them
           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: llvm-bugs at lists.llvm.org
            Blocks: 32325

We currently have to specify all the InstrSchedModel classes even if the model
doesn't support it (e.g. WriteVarVecShift on pre-AVX2 machines). 

We should be able to not have to include these as long as the model's
UnsupportedFeatures list agrees. Naturally if we try to attach the model to a
cpu that does support that feature we should error out (e.g. X86ScheduleHaswell
being used on KNL).


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=32325
[Bug 32325] [META][X86] Improve implementation and use of X86 scheduler models
-- 
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/20171210/8365ebb0/attachment.html>


More information about the llvm-bugs mailing list