[StackSafety,NFC] Fix comment

This commit is contained in:
Vitaly Buka
2020-06-19 03:11:13 -07:00
parent 67448a8ccc
commit 0e1bdeafc9
+1 -1
View File
@@ -52,7 +52,7 @@ bool StackLifetime::isAliveAfter(const AllocaInst *AI,
auto ItBB = BlockInstRange.find(BB);
assert(ItBB != BlockInstRange.end() && "Unreachable is not expected");
// Find the first instruction after the V.
// Search the block for the first instruction following 'I'.
auto It = std::upper_bound(Instructions.begin() + ItBB->getSecond().first + 1,
Instructions.begin() + ItBB->getSecond().second, I,
[](const Instruction *L, const Instruction *R) {