[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Fri Aug 25 22:33:00 PDT 2006



Changes in directory llvm/lib/Target/ARM:

ARMISelDAGToDAG.cpp updated: 1.37 -> 1.38
---
Log message:

Select() no longer require Result operand by reference.

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

 ARMISelDAGToDAG.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.37 llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.38
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.37	Fri Aug 25 12:55:16 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp	Sat Aug 26 00:32:46 2006
@@ -430,7 +430,7 @@
     : SelectionDAGISel(Lowering), Lowering(TM) {
   }
 
-  SDNode *Select(SDOperand &Result, SDOperand Op);
+  SDNode *Select(SDOperand Op);
   virtual void InstructionSelectBasicBlock(SelectionDAG &DAG);
   bool SelectAddrRegImm(SDOperand N, SDOperand &Offset, SDOperand &Base);
 
@@ -496,12 +496,12 @@
   return true;      //any address fits in a register
 }
 
-SDNode *ARMDAGToDAGISel::Select(SDOperand &Result, SDOperand Op) {
+SDNode *ARMDAGToDAGISel::Select(SDOperand Op) {
   SDNode *N = Op.Val;
 
   switch (N->getOpcode()) {
   default:
-    return SelectCode(Result, Op);
+    return SelectCode(Op);
     break;
   }
   return NULL;






More information about the llvm-commits mailing list