[llvm] r248190 - Fix accidentally committed debug printing

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 11:21:11 PDT 2015


Author: arsenm
Date: Mon Sep 21 13:21:10 2015
New Revision: 248190

URL: http://llvm.org/viewvc/llvm-project?rev=248190&view=rev
Log:
Fix accidentally committed debug printing

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=248190&r1=248189&r2=248190&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Mon Sep 21 13:21:10 2015
@@ -11395,20 +11395,7 @@ SDValue DAGCombiner::replaceStoreOfFPCon
       Tmp = DAG.getConstant((uint32_t)CFP->getValueAPF().
                             bitcastToAPInt().getZExtValue(), SDLoc(CFP),
                             MVT::i32);
-      SDValue NewSt = DAG.getStore(Chain, DL, Tmp,
-                                   Ptr, ST->getMemOperand());
-
-      dbgs() << "Replacing FP constant: ";
-      Value->dump(&DAG);
-
-      if (cast<StoreSDNode>(NewSt)->getMemoryVT() != MVT::i32) {
-        dbgs() << "Different memoryvt\n";
-      } else {
-        dbgs() << "same memoryvt\n";
-      }
-
-
-      return NewSt;
+      return DAG.getStore(Chain, DL, Tmp, Ptr, ST->getMemOperand());
     }
 
     return SDValue();




More information about the llvm-commits mailing list