projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
01c8f6e
)
Fix casts from long to sbyte on ppc
author
Chris Lattner
<sabre@nondot.org>
Mon, 1 Aug 2005 18:16:37 +0000
(18:16 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 1 Aug 2005 18:16:37 +0000
(18:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22570
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index e6d5deb5491af6bd82f521ca090167cf6151338d..9e9f4fa48790f688ea92e70b3a1cf4fa4199bf5e 100644
(file)
--- a/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@
-1786,7
+1786,7
@@
SDOperand SelectionDAGLegalize::PromoteOp(SDOperand Op) {
case Expand:
ExpandOp(Node->getOperand(0), Tmp1, Tmp2);
// Truncate the low part of the expanded value to the result type
- Result = DAG.getNode(ISD::TRUNCATE, VT, Tmp1);
+ Result = DAG.getNode(ISD::TRUNCATE,
N
VT, Tmp1);
}
break;
case ISD::SIGN_EXTEND: