From 4b8b71f43c5802a33b9c09775e81cff234856158 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 18 Jul 2023 11:42:29 +0200 Subject: [PATCH] [Coroutines] Remove unused variable (NFC) --- llvm/lib/Transforms/Coroutines/Coroutines.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Transforms/Coroutines/Coroutines.cpp b/llvm/lib/Transforms/Coroutines/Coroutines.cpp index b101326..cde74c5 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(F->getValueType()); - Type *Int8Ty = Type::getInt8Ty(F->getContext()); if (!FunTy->getReturnType()->isPointerTy()) fail(I, "llvm.coro.suspend.async resume function projection function must " -- 2.7.4