projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3864b
)
[Coroutines] Remove unused variable (NFC)
author
Nikita Popov
<npopov@redhat.com>
Tue, 18 Jul 2023 09:42:29 +0000
(11:42 +0200)
committer
Nikita Popov
<npopov@redhat.com>
Tue, 18 Jul 2023 09:43:00 +0000
(11:43 +0200)
llvm/lib/Transforms/Coroutines/Coroutines.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/Coroutines/Coroutines.cpp
b/llvm/lib/Transforms/Coroutines/Coroutines.cpp
index
b101326
..
cde74c5
100644
(file)
--- 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 "