From: Chris Lattner Date: Sun, 14 Mar 2010 19:27:55 +0000 (+0000) Subject: make -view-isel-dags print after the 'ShrinkDemandedOps' pass. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=552186dfd3238a43655ffda1b5adadec461c9886;p=oota-llvm.git make -view-isel-dags print after the 'ShrinkDemandedOps' pass. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98509 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index d91d8bdeceb..2fa869f1b80 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -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) {