mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[StackSafety,NFC] Fix comment
This commit is contained in:
parent
24b4a03b33
commit
3e39d691ff
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user