OSDN Git Service

oops
authorAndrew Lenharth <andrewl@lenharth.org>
Thu, 30 Jun 2005 19:32:57 +0000 (19:32 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Thu, 30 Jun 2005 19:32:57 +0000 (19:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22320 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index bf97fea..9a27404 100644 (file)
@@ -525,8 +525,7 @@ SDOperand SelectionDAGLegalize::LegalizeOp(SDOperand Op) {
       //f64 = EXTLOAD f32 should expand to LOAD, FP_EXTEND
       if (SrcVT == MVT::f32 && Node->getValueType(0) == MVT::f64) {
         SDOperand Load = DAG.getLoad(SrcVT, Tmp1, Tmp2, Node->getOperand(2));
-        Result = 
-          DAG.getNode(ISD::FP_EXTEND, Node->getValueType(0), Load, SrcVT);
+        Result = DAG.getNode(ISD::FP_EXTEND, Node->getValueType(0), Load);
         if (Op.ResNo)
           return Load.getValue(1);
         return Result;