[llvm] 4b8b71f - [Coroutines] Remove unused variable (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 18 02:43:08 PDT 2023
Author: Nikita Popov
Date: 2023-07-18T11:43:00+02:00
New Revision: 4b8b71f43c5802a33b9c09775e81cff234856158
URL: https://github.com/llvm/llvm-project/commit/4b8b71f43c5802a33b9c09775e81cff234856158
DIFF: https://github.com/llvm/llvm-project/commit/4b8b71f43c5802a33b9c09775e81cff234856158.diff
LOG: [Coroutines] Remove unused variable (NFC)
Added:
Modified:
llvm/lib/Transforms/Coroutines/Coroutines.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Coroutines/Coroutines.cpp b/llvm/lib/Transforms/Coroutines/Coroutines.cpp
index b1013262cd6b08..cde74c5e693be6 100644
--- a/llvm/lib/Transforms/Coroutines/Coroutines.cpp
+++ b/llvm/lib/Transforms/Coroutines/Coroutines.cpp
@@ -611,7 +611,6 @@ void CoroIdAsyncInst::checkWellFormed() const {
static void checkAsyncContextProjectFunction(const Instruction *I,
Function *F) {
auto *FunTy = cast<FunctionType>(F->getValueType());
- Type *Int8Ty = Type::getInt8Ty(F->getContext());
if (!FunTy->getReturnType()->isPointerTy())
fail(I,
"llvm.coro.suspend.async resume function projection function must "
More information about the llvm-commits
mailing list