From 4a929edf0451842c7bffd0b3cc3d9171a360ff15 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 23 Dec 2005 00:50:25 +0000 Subject: [PATCH] fix a thinko in the bit_convert handling code llvm-svn: 24972 --- lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)); }