projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca6e8ea
)
Fix a typo
author
Chris Lattner
<sabre@nondot.org>
Wed, 22 Mar 2006 22:20:49 +0000
(22:20 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 22 Mar 2006 22:20:49 +0000
(22:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26965
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 184e2156c7727dd6e4ee4b812103fd58f37d6387..80c842de5e96227f9247e6be8c9838dd61735368 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/
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(
Src
VT)) { // Int -> FP cast
+ } else if (isFloatingPoint(
Dest
VT)) { // Int -> FP cast
if (I.getOperand(0)->getType()->isSigned())
setValue(&I, DAG.getNode(ISD::SINT_TO_FP, DestVT, N));
else