Fix an incorrectly inverted condition.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31773 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 46f14b9..b74fbae 100644
--- a/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -2856,7 +2856,7 @@
   } else
     return false;
 
-  if (!Ptr.Val->hasOneUse())
+  if (Ptr.Val->hasOneUse())
     return false;
   
   for (SDNode::use_iterator I = Ptr.Val->use_begin(),