mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Fix an inverted condition that causes us to think that loop extraction
accomplished something when it really did not. This does not fix the bigger problem tho. llvm-svn: 12469
This commit is contained in:
parent
9a8238e477
commit
e2b4b9ca3f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user