[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 22 14:21:01 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.200 -> 1.201
---
Log message:
Fix a typo
---
Diffs of the changes: (+1 -1)
SelectionDAGISel.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.200 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.201
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.200 Wed Mar 22 14:09:35 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Wed Mar 22 16:20:49 2006
@@ -788,7 +788,7 @@
setValue(&I, DAG.getNode(ISD::SIGN_EXTEND, DestVT, N));
else
setValue(&I, DAG.getNode(ISD::ZERO_EXTEND, DestVT, N));
- } else if (isFloatingPoint(SrcVT)) { // Int -> FP cast
+ } else if (isFloatingPoint(DestVT)) { // Int -> FP cast
if (I.getOperand(0)->getType()->isSigned())
setValue(&I, DAG.getNode(ISD::SINT_TO_FP, DestVT, N));
else
More information about the llvm-commits
mailing list