mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix typo "infinte".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147226 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d4659addf8
commit
8a5641d856
@ -342,7 +342,8 @@ static bool isTrivialLoopExitBlockHelper(Loop *L, BasicBlock *BB,
|
|||||||
BasicBlock *&ExitBB,
|
BasicBlock *&ExitBB,
|
||||||
std::set<BasicBlock*> &Visited) {
|
std::set<BasicBlock*> &Visited) {
|
||||||
if (!Visited.insert(BB).second) {
|
if (!Visited.insert(BB).second) {
|
||||||
// Already visited. Without more analysis, this could indicate an infinte loop.
|
// Already visited. Without more analysis, this could indicate an infinite
|
||||||
|
// loop.
|
||||||
return false;
|
return false;
|
||||||
} else if (!L->contains(BB)) {
|
} else if (!L->contains(BB)) {
|
||||||
// Otherwise, this is a loop exit, this is fine so long as this is the
|
// Otherwise, this is a loop exit, this is fine so long as this is the
|
||||||
|
Loading…
Reference in New Issue
Block a user