projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5968d
)
Fix an inverted condition that causes us to think that loop extraction
author
Chris Lattner
<sabre@nondot.org>
Wed, 17 Mar 2004 17:37:18 +0000
(17:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 17 Mar 2004 17:37:18 +0000
(17:37 +0000)
accomplished something when it really did not. This does not fix the bigger problem tho.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12469
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/ExtractFunction.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/ExtractFunction.cpp
b/tools/bugpoint/ExtractFunction.cpp
index e8fe499ffdd3376467e86c66c791d622a451ac9b..5119c801a024f368d8f1842c268b5808ae0e41cb 100644
(file)
--- a/
tools/bugpoint/ExtractFunction.cpp
+++ b/
tools/bugpoint/ExtractFunction.cpp
@@
-141,7
+141,7
@@
Module *BugDriver::ExtractLoop(Module *M) {
// Check to see if we created any new functions. If not, no loops were
// extracted and we should return null.
- if (M->size()
!
= NewM->size()) {
+ if (M->size()
=
= NewM->size()) {
delete NewM;
return 0;
}