make -view-isel-dags print after the 'ShrinkDemandedOps' pass.

llvm-svn: 98509
This commit is contained in:
Chris Lattner 2010-03-14 19:27:55 +00:00
parent 5049f23592
commit f1ed59a418
1 changed files with 2 additions and 2 deletions

View File

@ -715,13 +715,13 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
DEBUG(dbgs() << "Optimized legalized selection DAG:\n");
DEBUG(CurDAG->dump());
if (ViewISelDAGs) CurDAG->viewGraph("isel input for " + BlockName);
if (OptLevel != CodeGenOpt::None) {
ShrinkDemandedOps();
ComputeLiveOutVRegInfo();
}
if (ViewISelDAGs) CurDAG->viewGraph("isel input for " + BlockName);
// Third, instruction select all of the operations to machine code, adding the
// code to the MachineBasicBlock.
if (TimePassesIsEnabled) {