mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Fix a goof with my previous commit by completely returning when we
detect an in-eligible block rather than just breaking out of the loop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156166 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
27742c1a76
commit
6a81f64ab6
@ -78,7 +78,7 @@ buildExtractionBlockSet(ArrayRef<BasicBlock *> BBs) {
|
||||
|
||||
if (!isBlockValidForExtraction(**I)) {
|
||||
Result.clear();
|
||||
break;
|
||||
return Result;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user