fix a thinko in the bit_convert handling code
authorChris Lattner <sabre@nondot.org>
Fri, 23 Dec 2005 00:50:25 +0000 (00:50 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Dec 2005 00:50:25 +0000 (00:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24972 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index 7c173973143ca669ff05b90ff86f0495fbf93a59..43133edc0d0f4c8061998021755cf1014839f418 100644 (file)
@@ -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));
 }