[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Dec 22 23:08:50 PST 2005



Changes in directory llvm/lib/Target/SparcV8:

SparcV8ISelDAGToDAG.cpp updated: 1.36 -> 1.37
---
Log message:

fix something-o


---
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.36 llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.37
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.36	Fri Dec 23 00:37:38 2005
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp	Fri Dec 23 01:08:39 2005
@@ -625,7 +625,7 @@
     return DAG.getNode(ISD::BIT_CONVERT, MVT::i32, Op);
   case ISD::SINT_TO_FP: {
     assert(Op.getOperand(0).getValueType() == MVT::i32);
-    Op = DAG.getNode(ISD::BIT_CONVERT, MVT::f32, Op);
+    Op = DAG.getNode(ISD::BIT_CONVERT, MVT::f32, Op.getOperand(0));
     // Convert the int value to FP in an FP register.
     return DAG.getNode(V8ISD::ITOF, Op.getValueType(), Op);
   }






More information about the llvm-commits mailing list