summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2015-09-21 18:21:10 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2015-09-21 18:21:10 +0000
commit8fb9b94f7f0d6598105cdece99649f307268ff7a (patch)
tree9283c786fa998816188c02c11126c574b1a526e1 /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parentb68a85d1f68203ce2d51c83bc43657a1cd21491a (diff)
downloadbcm5719-llvm-8fb9b94f7f0d6598105cdece99649f307268ff7a.tar.gz
bcm5719-llvm-8fb9b94f7f0d6598105cdece99649f307268ff7a.zip
Fix accidentally committed debug printing
llvm-svn: 248190
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 24627bcfcad..8b01e0025cf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -11395,20 +11395,7 @@ SDValue DAGCombiner::replaceStoreOfFPConstant(StoreSDNode *ST) {
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();
OpenPOWER on IntegriCloud