[llvm-bugs] [Bug 30870] New: We need fewer tools for scheduling post ra scheduler pass

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 1 18:10:35 PDT 2016


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

            Bug ID: 30870
           Summary: We need fewer tools for scheduling post ra scheduler
                    pass
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: amehsan at ca.ibm.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

I am aware of the following mechanisms for scheduling post ra schedulers.

1- The new virtual function in this patch
2- targetSchedulesPostRAScheduling
3- enablePostRA method in the subtarget
4- PostRAScheduler flag in include/llvm/Target/TargetSchedule.td
5- command line option to turn on new scheduler instead of old one.
6- command line option to turn off post ra schedulers
7- SubstitutePass to use new scheduler instead of old one.

Each of these seems to have a slightly different usecase. If there is a
likelihood that we can remove some of these, it might be worthwhile to open a
PR. otherwise we can leave it as is.

This is taken from D25482 (towards the end of conversation). I add some follow
up comments from there in the comments of this PR

-- 
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/20161102/cc849105/attachment.html>


More information about the llvm-bugs mailing list