Remove unused variable; NFC

llvm-svn: 327597
This commit is contained in:
George Burgess IV 2018-03-15 02:58:36 +00:00
parent f6d8da1425
commit cedfa6da81
1 changed files with 0 additions and 1 deletions

View File

@ -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<CallInst>(&I))
if (Call->isTailCall() && operandReferences(Call, Frame, AA)) {