Skip to content

Commit 4c16b12

Browse files
committed
[coro] Tweak comments about CoroAwaitSuspendInst
to reflect that there are three variants.
1 parent f6d431f commit 4c16b12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Coroutines/CoroInstr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ class LLVM_LIBRARY_VISIBILITY CoroAllocInst : public IntrinsicInst {
7878
}
7979
};
8080

81-
/// This represents the llvm.coro.await.suspend instruction.
81+
/// This represents the llvm.coro.await.suspend.{void,bool,handle} instructions.
8282
// FIXME: add callback metadata
8383
// FIXME: make a proper IntrinisicInst. Currently this is not possible,
84-
// because llvm.coro.await.suspend can be invoked.
84+
// because llvm.coro.await.suspend.* can be invoked.
8585
class LLVM_LIBRARY_VISIBILITY CoroAwaitSuspendInst : public CallBase {
8686
enum { AwaiterArg, FrameArg, WrapperArg };
8787

0 commit comments

Comments
 (0)