[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 4 23:09:25 PDT 2005



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.86 -> 1.87
---
Log message:

make sure that -view-isel-dags is the input to the isel, not the input to
the second phase of dag combining


---
Diffs of the changes:  (+2 -2)

 SelectionDAGISel.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.86 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.87
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.86	Fri Sep 30 22:57:14 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Wed Oct  5 01:09:10 2005
@@ -1302,11 +1302,11 @@
   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);






More information about the llvm-commits mailing list