From: Chris Lattner Date: Fri, 23 Dec 2005 00:50:25 +0000 (+0000) Subject: fix a thinko in the bit_convert handling code X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ed7b5babfbdc708c564266052ad3b0ce0a5726c5;p=oota-llvm.git fix a thinko in the bit_convert handling code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24972 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 7c173973143..43133edc0d0 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/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)); }