summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-12-23 00:50:25 +0000
committerChris Lattner <sabre@nondot.org>2005-12-23 00:50:25 +0000
commit9eae8d5d0389537544cb9abd1f01a6fbcdde2f3c (patch)
treec91cb459fdf013b232195b87e181ff522350c2e9 /llvm/lib/CodeGen
parent9babd861b276be864dfe1192fac5165d1d513de1 (diff)
downloadbcm5719-llvm-9eae8d5d0389537544cb9abd1f01a6fbcdde2f3c.tar.gz
bcm5719-llvm-9eae8d5d0389537544cb9abd1f01a6fbcdde2f3c.zip
fix a thinko in the bit_convert handling code
llvm-svn: 24972
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 7c173973143..43133edc0d0 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -2804,8 +2804,7 @@ SDOperand SelectionDAGLegalize::ExpandBIT_CONVERT(MVT::ValueType DestVT,
// Emit a store to the stack slot.
SDOperand Store = DAG.getNode(ISD::STORE, MVT::Other, DAG.getEntryNode(),
- SrcOp.getOperand(0), FIPtr,
- DAG.getSrcValue(NULL));
+ SrcOp, FIPtr, DAG.getSrcValue(NULL));
// Result is a load from the stack slot.
return DAG.getLoad(DestVT, Store, FIPtr, DAG.getSrcValue(0));
}
OpenPOWER on IntegriCloud