the second phase of dag combining
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23631
91177308-0d34-0410-b5e6-
96231b3b80d8
DEBUG(std::cerr << "Legalized selection DAG:\n");
DEBUG(DAG.dump());
- if (ViewDAGs) DAG.viewGraph();
-
// Run the DAG combiner in post-legalize mode, if we are told to do so
if (CombinerEnabled) DAG.Combine(true);
+ if (ViewDAGs) DAG.viewGraph();
+
// Third, instruction select all of the operations to machine code, adding the
// code to the MachineBasicBlock.
InstructionSelectBasicBlock(DAG);