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

Evan Cheng evan.cheng at apple.com
Fri May 26 16:10:28 PDT 2006



Changes in directory llvm/lib/Target/ARM:

ARMISelDAGToDAG.cpp updated: 1.8 -> 1.9
---
Log message:

Change RET node to include signness information of the return values. i.e.
RET chain, value1, sign1, value2, sign2, ...


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

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


Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.8 llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.9
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.8	Thu May 25 06:00:18 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp	Fri May 26 18:10:12 2006
@@ -62,8 +62,8 @@
     abort();
   case 1:
     return SDOperand(); // ret void is legal
-  case 2:
-    Copy = DAG.getCopyToReg(Op.getOperand(0), ARM::R0, Op.getOperand(1), SDOperand());
+  case 3:
+    Copy = DAG.getCopyToReg(Op.getOperand(0), ARM::R0, Op.getOperand(2), SDOperand());
     break;
   }
 






More information about the llvm-commits mailing list