[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Dec 18 18:16:03 PST 2005
Changes in directory llvm/lib/Target/SparcV8:
SparcV8ISelDAGToDAG.cpp updated: 1.27 -> 1.28
---
Log message:
Fix calls to functions returning i64
---
Diffs of the changes: (+1 -1)
SparcV8ISelDAGToDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.27 llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.28
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.27 Sun Dec 18 19:39:40 2005
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp Sun Dec 18 20:15:51 2005
@@ -538,7 +538,7 @@
Chain = RetVal.getValue(1);
break;
case MVT::i64:
- SDOperand Lo = DAG.getCopyFromReg(Chain, V8::O0, MVT::i32, InFlag);
+ SDOperand Lo = DAG.getCopyFromReg(Chain, V8::O1, MVT::i32, InFlag);
SDOperand Hi = DAG.getCopyFromReg(Lo.getValue(1), V8::O0, MVT::i32,
Lo.getValue(2));
RetVal = DAG.getNode(ISD::BUILD_PAIR, MVT::i64, Lo, Hi);
More information about the llvm-commits
mailing list