mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[NFC][Transforms][Coroutines] Remove unused variable
This commit is contained in:
parent
32bd0408b4
commit
9320fb3295
@ -652,7 +652,7 @@ void CoroCloner::salvageDebugInfo() {
|
||||
for (DbgDeclareInst *DDI : Worklist) {
|
||||
if (IsUnreachableBlock(DDI->getParent()))
|
||||
DDI->eraseFromParent();
|
||||
else if (auto *Alloca = dyn_cast_or_null<AllocaInst>(DDI->getAddress())) {
|
||||
else if (dyn_cast_or_null<AllocaInst>(DDI->getAddress())) {
|
||||
// Count all non-debuginfo uses in reachable blocks.
|
||||
unsigned Uses = 0;
|
||||
for (auto *User : DDI->getAddress()->users())
|
||||
|
Loading…
Reference in New Issue
Block a user