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

Chris Lattner lattner at cs.uiuc.edu
Sat Jan 22 20:36:39 PST 2005



Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.29 -> 1.30
---
Log message:

Adjust to changes in SelectionDAG interface.


---
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.29 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.30
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.29	Sat Jan 22 17:04:37 2005
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp	Sat Jan 22 22:36:26 2005
@@ -1018,7 +1018,7 @@
 
 void SelectionDAGISel::SelectBasicBlock(BasicBlock *LLVMBB, MachineFunction &MF,
                                         FunctionLoweringInfo &FuncInfo) {
-  SelectionDAG DAG(TLI.getTargetMachine(), MF);
+  SelectionDAG DAG(TLI, MF);
   CurDAG = &DAG;
   std::vector<std::pair<MachineInstr*, unsigned> > PHINodesToUpdate;
 
@@ -1031,7 +1031,7 @@
 
   // Second step, hack on the DAG until it only uses operations and types that
   // the target supports.
-  DAG.Legalize(TLI);
+  DAG.Legalize();
 
   DEBUG(std::cerr << "Legalized selection DAG:\n");
   DEBUG(DAG.dump());






More information about the llvm-commits mailing list