[PATCH] D17868: Allow target-specific postprocessing of the schedule DAG

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 12:37:32 PST 2016


kparzysz added a comment.

The post-RA scheduler runs as a standalone optimization.  Targets do not create their own subclass of the scheduler, so there needs to be some other way of supplying DAG mutations.  There is a subtarget hook to provide critical path register classes, so I guess I could one to provide mutations as well, but it would then be specific to the post-RA scheduler.  Would that be ok?

In the long term we would probably replace the post-RA scheduler with a packetizing scheduler that does more than the current DFA packetizer.


Repository:
  rL LLVM

http://reviews.llvm.org/D17868





More information about the llvm-commits mailing list