From 43c5d9b5997f0915ac36f726f2b24aac9ae56019 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 --- lib/Transforms/Coroutines/CoroElide.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Transforms/Coroutines/CoroElide.cpp b/lib/Transforms/Coroutines/CoroElide.cpp index 42fd6d74614..5935eae5918 100644 --- a/lib/Transforms/Coroutines/CoroElide.cpp +++ b/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)) {