[MachineScheduler] Dump SUnits before calling SchedImpl->initialize()
authorJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 5 Mar 2018 16:31:49 +0000 (16:31 +0000)
committerJonas Paulsson <paulsson@linux.vnet.ibm.com>
Mon, 5 Mar 2018 16:31:49 +0000 (16:31 +0000)
commitbc32f7db8588cac8b322c5af630a0f458d3be385
treee364df096956fcfdd2996c56bf3102d6c8948de4
parente31ab94e972f4a847f2312ffcdc71291ca7b2325
[MachineScheduler] Dump SUnits before calling SchedImpl->initialize()

This is a NFC simple patch that changes the DEBUG dumping in the
MachineScheduler so that the dumping of the built SUnits is done before the
SchedImpl->initialize() is called.

This is better on SystemZ, since it has a strategy that does some dumping at
the start of the region, and it is not possible to easily read it if it is
output above a long list of SU.

Review: Javed Absar
https://reviews.llvm.org/D44089

llvm-svn: 326716
llvm/lib/CodeGen/MachineScheduler.cpp