commit | f64da389f8f1e2b858585dc35bd32f039158c2e3 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu Nov 16 00:08:20 2006 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu Nov 16 00:08:20 2006 +0000 |
tree | 9b84a7d11145a1d564d67f37f45927f93d69aaf9 | |
parent | 8ae58b5828ad8063462fee0854cc9a700392dd1d [diff] [blame] |
Fix an incorrectly inverted condition. llvm-svn: 31773
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 46f14b9..b74fbae 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/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(),