diff options
author | Chris Lattner <sabre@nondot.org> | 2005-12-23 00:50:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-12-23 00:50:25 +0000 |
commit | 9eae8d5d0389537544cb9abd1f01a6fbcdde2f3c (patch) | |
tree | c91cb459fdf013b232195b87e181ff522350c2e9 /llvm/lib/CodeGen | |
parent | 9babd861b276be864dfe1192fac5165d1d513de1 (diff) | |
download | bcm5719-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.cpp | 3 |
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)); } |