diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-22 22:20:49 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-22 22:20:49 +0000 |
| commit | b893d04a67f8a5083ca2916ab1505e3e302ded08 (patch) | |
| tree | deab309fe1967d7c691643c2322d4c018379f2b1 /llvm/lib | |
| parent | 021bb7c956d64f17dc59e3ce6a8e791f0e633b62 (diff) | |
| download | bcm5719-llvm-b893d04a67f8a5083ca2916ab1505e3e302ded08.tar.gz bcm5719-llvm-b893d04a67f8a5083ca2916ab1505e3e302ded08.zip | |
Fix a typo
llvm-svn: 26965
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 184e2156c77..80c842de5e9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -788,7 +788,7 @@ void SelectionDAGLowering::visitCast(User &I) { 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 |

