From cedfa6da81404050b5d907d0092f326e97820176 Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Thu, 15 Mar 2018 02:58:36 +0000 Subject: [PATCH] Remove unused variable; NFC llvm-svn: 327597 --- llvm/lib/Transforms/Coroutines/CoroElide.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Transforms/Coroutines/CoroElide.cpp b/llvm/lib/Transforms/Coroutines/CoroElide.cpp index 42fd6d7..5935eae 100644 --- a/llvm/lib/Transforms/Coroutines/CoroElide.cpp +++ b/llvm/lib/Transforms/Coroutines/CoroElide.cpp @@ -77,7 +77,6 @@ static bool operandReferences(CallInst *CI, AllocaInst *Frame, AAResults &AA) { // call implies that the function does not references anything on the stack. static void removeTailCallAttribute(AllocaInst *Frame, AAResults &AA) { Function &F = *Frame->getFunction(); - MemoryLocation Mem(Frame); for (Instruction &I : instructions(F)) if (auto *Call = dyn_cast(&I)) if (Call->isTailCall() && operandReferences(Call, Frame, AA)) { -- 2.7.4