[llvm] 4c16b12 - [coro] Tweak comments about CoroAwaitSuspendInst
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 24 06:25:25 PDT 2024
Author: Hans Wennborg
Date: 2024-04-24T15:25:06+02:00
New Revision: 4c16b1231cc78cc6271cff5ab33f799cd437ac31
URL: https://github.com/llvm/llvm-project/commit/4c16b1231cc78cc6271cff5ab33f799cd437ac31
DIFF: https://github.com/llvm/llvm-project/commit/4c16b1231cc78cc6271cff5ab33f799cd437ac31.diff
LOG: [coro] Tweak comments about CoroAwaitSuspendInst
to reflect that there are three variants.
Added:
Modified:
llvm/lib/Transforms/Coroutines/CoroInstr.h
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Coroutines/CoroInstr.h b/llvm/lib/Transforms/Coroutines/CoroInstr.h
index 79e745bb162cdb..a31703fe01304c 100644
--- a/llvm/lib/Transforms/Coroutines/CoroInstr.h
+++ b/llvm/lib/Transforms/Coroutines/CoroInstr.h
@@ -78,10 +78,10 @@ class LLVM_LIBRARY_VISIBILITY CoroAllocInst : public IntrinsicInst {
}
};
-/// This represents the llvm.coro.await.suspend instruction.
+/// This represents the llvm.coro.await.suspend.{void,bool,handle} instructions.
// FIXME: add callback metadata
// FIXME: make a proper IntrinisicInst. Currently this is not possible,
-// because llvm.coro.await.suspend can be invoked.
+// because llvm.coro.await.suspend.* can be invoked.
class LLVM_LIBRARY_VISIBILITY CoroAwaitSuspendInst : public CallBase {
enum { AwaiterArg, FrameArg, WrapperArg };
More information about the llvm-commits
mailing list