diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-03-15 02:58:36 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-03-15 02:58:36 +0000 |
commit | cedfa6da81404050b5d907d0092f326e97820176 (patch) | |
tree | cf0062918dab5f7cd221e39af6939340f5c76f96 /llvm/lib/Transforms/Coroutines | |
parent | f6d8da1425289411515f680d9f850189819692d2 (diff) | |
download | bcm5719-llvm-cedfa6da81404050b5d907d0092f326e97820176.tar.gz bcm5719-llvm-cedfa6da81404050b5d907d0092f326e97820176.zip |
Remove unused variable; NFC
llvm-svn: 327597
Diffstat (limited to 'llvm/lib/Transforms/Coroutines')
-rw-r--r-- | llvm/lib/Transforms/Coroutines/CoroElide.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Coroutines/CoroElide.cpp b/llvm/lib/Transforms/Coroutines/CoroElide.cpp index 42fd6d74614..5935eae5918 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<CallInst>(&I)) if (Call->isTailCall() && operandReferences(Call, Frame, AA)) { |