[Coroutines] Remove unused variable (NFC)
authorNikita Popov <npopov@redhat.com>
Tue, 18 Jul 2023 09:42:29 +0000 (11:42 +0200)
committerNikita Popov <npopov@redhat.com>
Tue, 18 Jul 2023 09:43:00 +0000 (11:43 +0200)
llvm/lib/Transforms/Coroutines/Coroutines.cpp

index b101326..cde74c5 100644 (file)
@@ -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 "